xfs: add parent attributes to link
authorAllison Henderson <allison.henderson@oracle.com>
Mon, 22 Apr 2024 16:47:48 +0000 (09:47 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 23 Apr 2024 14:46:58 +0000 (07:46 -0700)
commitf1097be220fa938de5114db57a1ddb5de2bf6046
tree65e9b36fa8629173baf1ffec4c60c13f2a36a2a1
parentb7c62d90c12c6cc86f10b8a62cefe0029374b6ff
xfs: add parent attributes to link

This patch modifies xfs_link to add a parent pointer to the inode.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
[djwong: minor rebase fixes]
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_trans_space.c
fs/xfs/libxfs/xfs_trans_space.h
fs/xfs/scrub/dir_repair.c
fs/xfs/scrub/orphanage.c
fs/xfs/xfs_inode.c