summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_symlink.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-02-22 21:45:17 +0100
committerDarrick J. Wong <djwong@kernel.org>2024-02-22 21:45:17 +0100
commit376b4f0522484f43660dab8e4e92b471863b49f9 (patch)
treed88c04e01d3e2afdeca4bf90c5887642ca0b7f83 /fs/xfs/xfs_symlink.h
parentxfs: move xfs_symlink_remote.c declarations to xfs_symlink_remote.h (diff)
downloadlinux-376b4f0522484f43660dab8e4e92b471863b49f9.tar.xz
linux-376b4f0522484f43660dab8e4e92b471863b49f9.zip
xfs: move remote symlink target read function to libxfs
Move xfs_readlink_bmap_ilocked to xfs_symlink_remote.c so that the swapext code can use it to convert a remote format symlink back to shortform format after a metadata repair. While we're at it, fix a broken printf prefix. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_symlink.h')
-rw-r--r--fs/xfs/xfs_symlink.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_symlink.h b/fs/xfs/xfs_symlink.h
index d1ca1ce62a93..0d29a50e66fd 100644
--- a/fs/xfs/xfs_symlink.h
+++ b/fs/xfs/xfs_symlink.h
@@ -10,7 +10,6 @@
int xfs_symlink(struct mnt_idmap *idmap, struct xfs_inode *dp,
struct xfs_name *link_name, const char *target_path,
umode_t mode, struct xfs_inode **ipp);
-int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link);
int xfs_readlink(struct xfs_inode *ip, char *link);
int xfs_inactive_symlink(struct xfs_inode *ip);