]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: refactor multi-fsb object detection decision making
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 26 Apr 2019 20:40:24 +0000 (15:40 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 26 Apr 2019 20:40:24 +0000 (15:40 -0500)
commit001df390de88731675adae166db5f189924b107f
tree18a82a03cd72d218fb754f2f83cf39ec5b4663d1
parent9e43c34535bb72edc4a3a30e14b7d22b54c468cb
xfs_db: refactor multi-fsb object detection decision making

Pull the "is this a multi-fsb object" decision into a separate function
that we can keep close to the actual multi-fsb object dispatcher.  We
will soon make the machinery more complex so we do this to avoid having
a big hairy if statement.

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/metadump.c