summaryrefslogtreecommitdiff
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-04-23 10:54:16 +0300
committerDavid Sterba <dsterba@suse.com>2018-05-28 19:07:29 +0300
commit076da91cd9ec4032f88bb30a162d576e9e46c2d6 (patch)
tree7927643a395bfff6768894bc997b6a5c1fa844f0 /fs/btrfs/ctree.h
parent4fbb514785154ac2eff2a85d60fc0974207171b2 (diff)
downloadlinux-076da91cd9ec4032f88bb30a162d576e9e46c2d6.tar.xz
btrfs: Remove delayed_iput member from btrfs_delalloc_work
When allocating a delalloc work we are always setting the delayed_iput to 0. So remove the delay_iput member of btrfs_delalloc_work, as a result also remove it as a parameter from btrfs_alloc_delalloc_work since it's not used anymore. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 0dbb5a19d977..6cdc6d0e8525 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3169,14 +3169,12 @@ void btrfs_extent_item_to_extent_map(struct btrfs_inode *inode,
/* inode.c */
struct btrfs_delalloc_work {
struct inode *inode;
- int delay_iput;
struct completion completion;
struct list_head list;
struct btrfs_work work;
};
-struct btrfs_delalloc_work *btrfs_alloc_delalloc_work(struct inode *inode,
- int delay_iput);
+struct btrfs_delalloc_work *btrfs_alloc_delalloc_work(struct inode *inode);
struct extent_map *btrfs_get_extent_fiemap(struct btrfs_inode *inode,
struct page *page, size_t pg_offset, u64 start,