]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: kill delay_iput arg to the wait_ordered functions
authorJosef Bacik <jbacik@fusionio.com>
Tue, 17 Sep 2013 14:55:51 +0000 (10:55 -0400)
committerChris Mason <chris.mason@fusionio.com>
Sat, 21 Sep 2013 15:05:27 +0000 (11:05 -0400)
commit0d47e140f120c6af7f8297c0a0fa547cf9f43f8c
tree02dcf2a9806c241e96b7c47dbbc19f6f249f7a57
parentafdad848340345fd23faa27b07c603d5e692b3a9
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>
fs/btrfs/dev-replace.c
fs/btrfs/extent-tree.c
fs/btrfs/ioctl.c
fs/btrfs/ordered-data.c
fs/btrfs/ordered-data.h
fs/btrfs/relocation.c
fs/btrfs/super.c
fs/btrfs/transaction.c