summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/inode.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-05-09 10:02:00 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-05-15 17:57:05 -0700
commit08a3a692ef586cc82648b88856a97e0d173319e2 (patch)
tree2e24aaddd3dcc41c11e4a90a66bd594460c44d4f /fs/xfs/scrub/inode.c
parent631fc955bdc86c3fed5880cba80c663d1b32e0c2 (diff)
xfs: btree scrub should check minrecs
Strengthen the btree block header checks to detect the number of records being less than the btree type's minimum record count. Certain blocks are allowed to violate this constraint -- specifically any btree block at the top of the tree can have fewer than minrecs records. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/scrub/inode.c')
0 files changed, 0 insertions, 0 deletions