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>
This commit is contained in:
committed by
David Sterba
parent
82b3e53b8d
commit
76f32e240e
@@ -640,7 +640,7 @@ static int create_snapshot(struct btrfs_root *root, struct inode *dir,
|
||||
wait_event(root->subv_writers->wait,
|
||||
percpu_counter_sum(&root->subv_writers->counter) == 0);
|
||||
|
||||
ret = btrfs_start_delalloc_inodes(root, 0);
|
||||
ret = btrfs_start_delalloc_inodes(root);
|
||||
if (ret)
|
||||
goto dec_and_free;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user