aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2020-11-08 16:32:41 -0800
committerDarrick J. Wong <[email protected]>2020-11-18 09:23:50 -0800
commite95b6c3ef1311dd7b20467d932a24b6d0fd88395 (patch)
tree5e77b89d2dcabce94704e765cda7933899187041 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent2bd3fa793aaa7e98b74e3653fdcc72fa753913b5 (diff)
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/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions