]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: split up allocation btree verifier
authorBrian Foster <bfoster@redhat.com>
Mon, 6 May 2019 22:00:28 +0000 (18:00 -0400)
committerEric Sandeen <sandeen@redhat.com>
Mon, 6 May 2019 22:00:28 +0000 (18:00 -0400)
commitfce74e98639a779327998695fcae1abe163ba96e
treeee9b56f2f2e89ecf8a0859fe77c8d8a8dcf35e69
parentc08793bd924532d6395d555dd4f0edc663eb6d5c
xfs: split up allocation btree verifier

Source kernel commit: 27df4f5045fc68766980c4dfba5ffc9ad1f71ebb

Similar to the inode btree verifier, the same allocation btree
verifier structure is shared between the by-bno (bnobt) and by-size
(cntbt) btrees. This prevents the ability to distinguish magic
values between them. Separate the verifier into two, one for each
tree, and assign them appropriately. No functional changes.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/type.c
libxfs/xfs_ag.c
libxfs/xfs_alloc_btree.c
libxfs/xfs_shared.h
mkfs/xfs_mkfs.c
repair/phase5.c
repair/scan.c