xfs: create structure verifier function for short form symlinks
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:51:05 +0000 (10:51 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:54:46 +0000 (10:54 -0800)
commit0795e004fd4f2723f3dbf09a195cd7ccf3c74c58
tree3b0dc32355d3d1d849d2ae252a32643e6ea1200f
parent1e1bbd8e7ee0624034e9bf1e91ac11a7aaa2f8a6
xfs: create structure verifier function for short form symlinks

Create a function to check the structure of short form symlink targets.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_shared.h
fs/xfs/libxfs/xfs_symlink_remote.c