btrfs: Add function to distinguish between data and btree inode
authorNikolay Borisov <nborisov@suse.com>
Fri, 9 Nov 2018 14:08:30 +0000 (16:08 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:27 +0000 (14:51 +0100)
commit06f2548f9d74a925a16967bb4ff3d860e0c6b33f
tree5794136a7f5329d4e04c5b197cc0b10ec43ba0e3
parent05a37c48604c19b50873fd9663f9140c150469d1
btrfs: Add function to distinguish between data and btree inode

This will be used in future patches that remove the optional
extent_io_ops callbacks.

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/btrfs_inode.h