xfs: test inobt/on disk free state mismatches
authorDave Chinner <dchinner@redhat.com>
Mon, 7 May 2018 23:05:51 +0000 (09:05 +1000)
committerEryu Guan <guaneryu@gmail.com>
Fri, 11 May 2018 10:40:04 +0000 (18:40 +0800)
commit272ddcdd191e2979a3d03fd5b8e3dde7ef9233eb
tree2fa757829a376611de3085c598e9980969eb872c
parentf3851ad630ba0316acf90fc48e995ee1eb44e45e
xfs: test inobt/on disk free state mismatches

Fuzzing has recently uncovered a couple of conditions where we don't
detect corruptions that reallocate already allocated inodes. This
test exercises those cases, and checks that we shut down the
filesystem appropriately when such a corruption occurs.

Signed-Off-By: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/xfs/132 [new file with mode: 0755]
tests/xfs/132.out [new file with mode: 0644]
tests/xfs/group