mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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:
parent
82b3e53b8d
commit
76f32e240e
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue