]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: identify attr dabtree field types correctly
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 30 Jun 2017 16:02:46 +0000 (11:02 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 30 Jun 2017 16:02:46 +0000 (11:02 -0500)
commit73a423b12a1eb1f3fd12023103377d36b8b17322
treebc484b707b6fd19516f44b119c29bdfb3ece1ca8
parenteb125dcbfcd24bd40d6f78442a5814debc78438b
xfs_db: identify attr dabtree field types correctly

For whatever reason, the v5 xattr dabtree header fields are mapped to
the directory dabtree header fields, which means that the types are
wrong and hence we cannot use the 'addr' command to step through the
tree.  Since the v4 attr dabtree does this correctly, simply port the v5
fields to the attr code too.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/attr.c
db/attr.h
db/field.c
db/field.h