diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-04-23 03:54:13 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 12:07:28 -0400 |
commit | 82b3e53b8da19b25ef36b68316374df47f8fa268 (patch) | |
tree | 209deecb0d6fc43f65190b6961ca865772803162 /fs/btrfs/ioctl.c | |
parent | 0338dff6e0d91af053ef5d350d7388df666ae78e (diff) |
btrfs: Remove delayed_iput parameter of btrfs_start_delalloc_roots
This parameter was introduced alongside the function in
eb73c1b7cea7 ("Btrfs: introduce per-subvolume delalloc inode list") to
avoid deadlocks since this function was used in the transaction commit
path. However, commit 8d875f95da43 ("btrfs: disable strict file flushes
for renames and truncates") removed that usage, rendering the parameter
obsolete.
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/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 397f026b1e4c..67db5f6b0476 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -5307,7 +5307,7 @@ long btrfs_ioctl(struct file *file, unsigned int | |||
5307 | case BTRFS_IOC_SYNC: { | 5307 | case BTRFS_IOC_SYNC: { |
5308 | int ret; | 5308 | int ret; |
5309 | 5309 | ||
5310 | ret = btrfs_start_delalloc_roots(fs_info, 0, -1); | 5310 | ret = btrfs_start_delalloc_roots(fs_info, -1); |
5311 | if (ret) | 5311 | if (ret) |
5312 | return ret; | 5312 | return ret; |
5313 | ret = btrfs_sync_fs(inode->i_sb, 1); | 5313 | ret = btrfs_sync_fs(inode->i_sb, 1); |