]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: move remote symlink target read function to libxfs
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:01:13 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:41 +0000 (11:37 -0700)
commit28e8f78c511f8d39a0f9faada68afb2fc1914757
treeb1dd8d3d64821d60b899618e6db51861e9d3608b
parentce160fd93a06221e2a954bc86356f16ab8703509
xfs: move remote symlink target read function to libxfs

Source kernel commit: 376b4f0522484f43660dab8e4e92b471863b49f9

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>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_symlink_remote.c
libxfs/xfs_symlink_remote.h