OSDN Git Service

btrfs: Change submit_bio_hook to taking an inode directly
authorNikolay Borisov <nborisov@suse.com>
Wed, 10 Apr 2019 14:24:39 +0000 (17:24 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:46 +0000 (19:02 +0200)
commita56b1c7bc83c2c5439e4a5d44f35cea36fbe2c9d
tree98fbe0488ef67db00eaf3c52d377e4009e217ded
parenta9355a0ef32f109b08bb0ff51d8ad5bd173cf21b
btrfs: Change submit_bio_hook to taking an inode directly

The only possible 'private_data' that is passed to this function is
actually an inode. Make that explicit by changing the signature of the
call back. No functional changes.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c