diff options
| author | Darrick J. Wong <[email protected]> | 2020-11-09 00:32:42 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2020-11-18 17:23:50 +0000 |
| commit | 6b48e5b8a20f653b7d64ccf99a498f2523bff752 (patch) | |
| tree | 5ea9a4e6cb85cc766970f8fdc4b2c69ef4b2b723 /scripts/gcc-plugins/gcc-common.h | |
| parent | xfs: strengthen rmap record flags checking (diff) | |
| download | kernel-6b48e5b8a20f653b7d64ccf99a498f2523bff752.tar.gz kernel-6b48e5b8a20f653b7d64ccf99a498f2523bff752.zip | |
xfs: directory scrub should check the null bestfree entries too
Teach the directory scrubber to check all the bestfree entries,
including the null ones. We want to be able to detect the case where
the entry is null but there actually /is/ a directory data block.
Found by fuzzing lbests[0] = ones in xfs/391.
Fixes: df481968f33b ("xfs: scrub directory freespace")
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Chandan Babu R <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
