OSDN Git Service

btrfs: make btrfs_new_extent_direct take btrfs_inode
authorNikolay Borisov <nborisov@suse.com>
Wed, 3 Jun 2020 05:55:32 +0000 (08:55 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 27 Jul 2020 10:55:34 +0000 (12:55 +0200)
commit9fc6f911a014fab57ed661b6918b7f730fa60c59
treedf88fb5c959a00e39634352824842854619b85fc
parent64f54188ea4309a22eaf09df169ea5d0f0021640
btrfs: make btrfs_new_extent_direct take btrfs_inode

This function really needs a btrfs_inode and not a generic vfs one. Take
it as a parameter and get rid of superfluous BTRFS_I() calls.

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