]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: pass the owner to xfs_symlink_write_target
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:22:39 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:00 +0000 (17:01 -0700)
commita73bb88013e91c51ebb2f5f92001db8058ea4910
tree6d840b26c1a4e01e016ef540f1fbe858c08cfcb9
parent7469e993bb0b6edff2aed819c879201a197ce0e2
xfs: pass the owner to xfs_symlink_write_target

Source kernel commit: ea8214c3195c2ed3a205dea42bbe7746712fc461

Require callers of xfs_symlink_write_target to pass the owner number
explicitly.  This sets us up for online repair to be able to write a
remote symlink target to sc->tempip with sc->ip's inumber in the block
heaader.

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