btrfs: move inode prototypes to btrfs_inode.h
authorJosef Bacik <josef@toxicpanda.com>
Wed, 26 Oct 2022 19:08:21 +0000 (15:08 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:45 +0000 (18:00 +0100)
commit2885fd632050ef47317a97a3a68bc98634a6e11e
tree9f99b0db70213f1da8b8311af7a974f77817827c
parent083bd7e54e8e2c1d169f21236873272cdf6f409a
btrfs: move inode prototypes to btrfs_inode.h

I initially wanted to make a new header file for this, but these
prototypes do naturally fit into btrfs_inode.h.  If we want to extract
vfs from pure btrfs code in the future we may need to split this up, but
btrfs_inode embeds the vfs_inode, so it makes sense to put the
prototypes in this header for now.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/btrfs_inode.h
fs/btrfs/ctree.h