btrfs: uapi/linux/btrfs_tree.h migration, item types and defines
authorJeff Mahoney <jeffm@suse.com>
Fri, 1 Apr 2016 20:14:29 +0000 (16:14 -0400)
committerDavid Sterba <dsterba@suse.com>
Thu, 28 Apr 2016 09:06:41 +0000 (11:06 +0200)
commitdb6711600e27c885aed89751f04e727f3af26715
tree68042251c1f6067f251afae1b269a195139c76b6
parent33ca913349962208e13e894ada99b9ae6e0080ee
btrfs: uapi/linux/btrfs_tree.h migration, item types and defines

The BTRFS_IOC_SEARCH_TREE ioctl returns file system items directly
to userspace.  In order to decode them, full type information is required.

Create a new header, btrfs_tree to contain these since most users won't
need them.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
include/uapi/linux/btrfs_tree.h [new file with mode: 0644]