commit | 8e9b6123e78b8e6c3287f18f55f85b3f1784e980 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu Nov 05 17:19:19 2020 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Nov 12 17:51:19 2020 -0800 |
tree | 8c00801863f05d4580e030fc7e1fcf278c3c82d1 | |
parent | 1f1d99b5384ce4d382d6092b24cabf6f10e2f261 [diff] |
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 <darrick.wong@oracle.com>