xfs: move ftype conversion functions to libxfs
authorDave Chinner <dchinner@redhat.com>
Wed, 3 Dec 2014 22:43:17 +0000 (09:43 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 3 Dec 2014 22:43:17 +0000 (09:43 +1100)
commit1b767ee386c5f58660ca9be70d3076f2b6484e72
treeca368107e810c67a75214966cb1399af52ceb727
parent2d3d0c53df99587e1d58759f805c3aae79fac453
xfs: move ftype conversion functions to libxfs

These functions are needed in userspace for repair and mkfs to
do the right thing. Move them to libxfs so they can be easily
shared.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_dir2.c
fs/xfs/libxfs/xfs_dir2.h
fs/xfs/libxfs/xfs_dir2_priv.h
fs/xfs/xfs_dir2_readdir.c
fs/xfs/xfs_iops.c