]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_db: report parent pointers embedded in xattrs
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:23:22 +0000 (16:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:11 +0000 (17:01 -0700)
commit04f06c2872315652d1eebcbf91bce145200a8afd
tree8ec4e90eeb1f346bfc560dfcc7524f4572ed93f4
parentc120c7e6f74c852bb385fa69d88750b23d28f9fc
xfs_db: report parent pointers embedded in xattrs

Decode the parent pointer inode, generation, and name fields if the
parent pointer passes basic validation checks.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
db/attr.c
db/attrshort.c
db/field.c
db/field.h