]> 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)
commit148a44b03e053fb972744deb90b1d31d5f709050
tree02dcf2a9806c241e96b7c47dbbc19f6f249f7a57
parentd96952573bf5f906b18db381a806982cae93df29
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