xfs: move symlink target write function to libxfs
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:48:20 +0000 (12:48 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:52:37 +0000 (12:52 -0800)
commitb8102b61f7b8929ad8043e4574a1e26276398041
tree96bae8a384cbe27b4962153f9bda2452caa0e1d6
parent376b4f0522484f43660dab8e4e92b471863b49f9
xfs: move symlink target write function to libxfs

Move xfs_symlink_write_target to xfs_symlink_remote.c so that kernel and
mkfs can share the same function.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_symlink_remote.c
fs/xfs/libxfs/xfs_symlink_remote.h
fs/xfs/xfs_symlink.c