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

It has only 4 uses of a vfs_inode for inode_sub_bytes but unifies the
interface with the non  __ prefixed version. Will also makes converting
its callers to btrfs_inode easier.

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/ctree.h
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/tree-log.c