]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: repair extended attributes
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)
commit95dfa4b5f7223fa4f8fb368a28dd6ae61b3acfcd
treed44c361db2a941eaec3180d330edaf88b15f9864
parent784d5b7c02b1292c20ea59e26c23493df49a3ba7
xfs: repair extended attributes

Source kernel commit: e47dcf113ae348678143cc935a1183059c02c9ad

If the extended attributes look bad, try to sift through the rubble to
find whatever keys/values we can, stage a new attribute structure in a
temporary file and use the atomic extent swapping mechanism to commit
the results in bulk.

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