]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: make get_extent_allocation_hint take btrfs_inode
authorNikolay Borisov <nborisov@suse.com>
Wed, 3 Jun 2020 05:55:02 +0000 (08:55 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 27 Jul 2020 10:55:25 +0000 (12:55 +0200)
commitf3665da0d2cfe1a9ea528321341fe40f22836a57
treef40434116563754c2fb75ac6dec03370c07597a3
parentf988e9d90a8201de2092edd88c544379d6dd2f59
btrfs: make get_extent_allocation_hint take btrfs_inode

It doesn't use the vfs inode for anything, can just as easily take
btrfs_inode.  Follow up patches will convert callers as well.

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/inode.c