aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2020-11-09 00:32:41 +0000
committerDarrick J. Wong <[email protected]>2020-11-18 17:23:50 +0000
commite95b6c3ef1311dd7b20467d932a24b6d0fd88395 (patch)
tree5e77b89d2dcabce94704e765cda7933899187041 /scripts/gcc-plugins/gcc-common.h
parentxfs: fix a missing unlock on error in xfs_fs_map_blocks (diff)
downloadkernel-e95b6c3ef1311dd7b20467d932a24b6d0fd88395.tar.gz
kernel-e95b6c3ef1311dd7b20467d932a24b6d0fd88395.zip
xfs: fix the minrecs logic when dealing with inode root child blocks
The comment and logic in xchk_btree_check_minrecs for dealing with inode-rooted btrees isn't quite correct. While the direct children of the inode root are allowed to have fewer records than what would normally be allowed for a regular ondisk btree block, this is only true if there is only one child block and the number of records don't fit in the inode root. Fixes: 08a3a692ef58 ("xfs: btree scrub should check minrecs") 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