xfs: pass the owner to xfs_symlink_write_target
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:54:59 +0000 (14:54 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:58:57 +0000 (14:58 -0700)
commitea8214c3195c2ed3a205dea42bbe7746712fc461
tree3b73c145ffcf5872a4ac3413a4e120754aaccb71
parentef744be416b5c649d287604730400dfa728779fe
xfs: pass the owner to xfs_symlink_write_target

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>
fs/xfs/libxfs/xfs_symlink_remote.c
fs/xfs/libxfs/xfs_symlink_remote.h
fs/xfs/xfs_symlink.c