summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-04-23 10:54:14 +0300
committerDavid Sterba <dsterba@suse.com>2018-05-28 18:07:28 +0200
commit76f32e240ee6a3c1903ce8f1e934b43f2971bffc (patch)
tree2a741d90374a7b04c8937c5589987104ae7bfeae /fs/btrfs/ctree.h
parent82b3e53b8da19b25ef36b68316374df47f8fa268 (diff)
downloadlinux-stable-76f32e240ee6a3c1903ce8f1e934b43f2971bffc.tar.gz
linux-stable-76f32e240ee6a3c1903ce8f1e934b43f2971bffc.tar.bz2
linux-stable-76f32e240ee6a3c1903ce8f1e934b43f2971bffc.zip
btrfs: Remove delayed_iput parameter from btrfs_start_delalloc_inodes
It's always set to 0, so just remove it and collapse the constant value to the only function we are passing it. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 0d15d98a964a..0dbb5a19d977 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3204,7 +3204,7 @@ int btrfs_truncate_inode_items(struct btrfs_trans_handle *trans,
struct inode *inode, u64 new_size,
u32 min_type);
-int btrfs_start_delalloc_inodes(struct btrfs_root *root, int delay_iput);
+int btrfs_start_delalloc_inodes(struct btrfs_root *root);
int btrfs_start_delalloc_roots(struct btrfs_fs_info *fs_info, int nr);
int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end,
unsigned int extra_bits,