aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_symlink.h
diff options
context:
space:
mode:
authorDarrick J. Wong2017-06-16 11:00:15 -0700
committerDarrick J. Wong2017-06-20 10:45:22 -0700
commit5da8f2f8908aabcfa4113d37d470039c79962ba9 (patch)
treec6b64c4a6c060b696693499239e9ae9ae1a7ad27 /fs/xfs/xfs_symlink.h
parentad017f6537dee30a67b89f937a16e2f6c82e3774 (diff)
xfs: allow reading of already-locked remote symbolic link
Expose the readlink variant that doesn't take the inode lock so that the scrubber can inspect symlink contents. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_symlink.h')
-rw-r--r--fs/xfs/xfs_symlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_symlink.h b/fs/xfs/xfs_symlink.h
index e75245d09116..aeaee8923617 100644
--- a/fs/xfs/xfs_symlink.h
+++ b/fs/xfs/xfs_symlink.h
@@ -21,6 +21,7 @@
int xfs_symlink(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);