xfs: split out the remote symlink handling
authorDave Chinner <dchinner@redhat.com>
Mon, 12 Aug 2013 10:49:40 +0000 (20:49 +1000)
committerBen Myers <bpm@sgi.com>
Mon, 12 Aug 2013 21:43:38 +0000 (16:43 -0500)
commit1fb7e48db6810093012873a652062648ace6b5bb
tree7ca9cf8073d2768fbbb44299299dd222efaf3b48
parentfde2227ce12b6d3e1945bd512da2a4a333331a2c
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>
fs/xfs/Makefile
fs/xfs/xfs_format.h
fs/xfs/xfs_symlink.c
fs/xfs/xfs_symlink.h
fs/xfs/xfs_symlink_remote.c [new file with mode: 0644]