]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
xfs: allow reading of already-locked remote symbolic link
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 16 Jun 2017 18:00:15 +0000 (11:00 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 20 Jun 2017 17:45:22 +0000 (10:45 -0700)
commit5da8f2f8908aabcfa4113d37d470039c79962ba9
treec6b64c4a6c060b696693499239e9ae9ae1a7ad27
parentad017f6537dee30a67b89f937a16e2f6c82e3774
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>
fs/xfs/xfs_symlink.c
fs/xfs/xfs_symlink.h