]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: teach the frag command about sparse inode chunks
authorEric Sandeen <sandeen@redhat.com>
Wed, 12 Dec 2018 17:42:40 +0000 (11:42 -0600)
committerEric Sandeen <sandeen@redhat.com>
Wed, 12 Dec 2018 17:42:40 +0000 (11:42 -0600)
commit2a5eb70cbffdec6bfaba2916479a1743ec407751
tree5b3cd27a5dfd54968f228f3cf3a1b0842c221969
parent153d2ff9bb3c2b4013723f61ba32cb990667678b
xfs_db: teach the frag command about sparse inode chunks

This is the equivalent of:

ea8a48f xfs_check: process sparse inode chunks correctly

for the frag_f() command in xfs_db.

Without this, the xfs_db frag command shows corruption as it
wanders into blocks that are not inodes.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=201823
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/frag.c