xfs: split out the remote symlink handling
The remote symlink format definition and manipulation needs to be
shared with userspace, but the in-kernel interfaces do not. Split
the remote symlink format handling out into xfs_symlink_remote.[ch]
fo it can easily be shared with userspace.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile
index a73af1c..20b1d94 100644
--- a/fs/xfs/Makefile
+++ b/fs/xfs/Makefile
@@ -50,6 +50,7 @@
xfs_mru_cache.o \
xfs_rename.o \
xfs_super.o \
+ xfs_symlink.o \
xfs_trans.o \
xfs_utils.o \
xfs_vnodeops.o \
@@ -81,7 +82,7 @@
xfs_inode_buf.o \
xfs_log_recover.o \
xfs_mount.o \
- xfs_symlink.o \
+ xfs_symlink_remote.o \
xfs_trans_resv.o
# low-level transaction/log code