xfs: Add parent pointers to rename
authorAllison Henderson <allison.henderson@oracle.com>
Mon, 22 Apr 2024 16:47:50 +0000 (09:47 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 23 Apr 2024 14:46:59 +0000 (07:46 -0700)
commit5a8338c88284df4e9e697225aa65f2709333a659
tree8df45a277f1eb0b7a46616ccd30f1f5eda997b4b
parentd2d18330f63cd70b50eddac76de7c59a36f2faa7
xfs: Add parent pointers to rename

This patch removes the old parent pointer attribute during the rename
operation, and re-adds the updated parent pointer.

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
[djwong: adjust to new ondisk format]
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_parent.c
fs/xfs/libxfs/xfs_parent.h
fs/xfs/libxfs/xfs_trans_space.c
fs/xfs/libxfs/xfs_trans_space.h
fs/xfs/scrub/orphanage.c
fs/xfs/scrub/parent_repair.c
fs/xfs/xfs_inode.c