xfs: record inode generation in xattr update log intent items
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 16:47:43 +0000 (09:47 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 23 Apr 2024 14:46:57 +0000 (07:46 -0700)
commitae673f534a30976ce5e709c4535a59c12b786ef3
tree3bcb6e9c35aeba2bedc32a4b2efe087884ca0124
parent5773f7f82be5aa98e4883566072d33342814cebe
xfs: record inode generation in xattr update log intent items

For parent pointer updates, record the i_generation of the file that is
being updated so that we don't accidentally jump generations.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_log_format.h
fs/xfs/xfs_attr_item.c