diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-09-17 10:55:51 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-09-21 11:05:27 -0400 |
commit | f0de181c9b48a397c5a2fbe63dcdd2a26a872695 (patch) | |
tree | 02dcf2a9806c241e96b7c47dbbc19f6f249f7a57 /fs/btrfs/super.c | |
parent | c4fbb4300abd6f662c7d5049d01f868af9874069 (diff) | |
download | op-kernel-dev-f0de181c9b48a397c5a2fbe63dcdd2a26a872695.zip op-kernel-dev-f0de181c9b48a397c5a2fbe63dcdd2a26a872695.tar.gz |
Btrfs: kill delay_iput arg to the wait_ordered functions
This is a left over of how we used to wait for ordered extents, which was to
grab the inode and then run filemap flush on it. However if we have an ordered
extent then we already are holding a ref on the inode, and we just use
btrfs_start_ordered_extent anyway, so there is no reason to have an extra ref on
the inode to start work on the ordered extent. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 58cb83f..b341da3 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -921,7 +921,7 @@ int btrfs_sync_fs(struct super_block *sb, int wait) return 0; } - btrfs_wait_all_ordered_extents(fs_info, 1); + btrfs_wait_all_ordered_extents(fs_info); trans = btrfs_attach_transaction_barrier(root); if (IS_ERR(trans)) { |