]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd510e1e4acc595913a9415c1639d039eebc7877
tree98fbe0488ef67db00eaf3c52d377e4009e217ded
parent600c4f0e99b08948d7b3e68f258ccccaf1fde4a8
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