summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_btree.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-16 12:22:08 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-09-23 18:20:30 -0700
commita6d93e0152792bdb975af5897fae25e8eaf61e04 (patch)
tree445ee721d01006b764ae2bfde375179fba61eec4 /fs/xfs/libxfs/xfs_btree.h
parent71c915ff0f4d6b0cd67e4d1ca763de4fbb690e13 (diff)
xfs: check that bc_nlevels never overflows
Warn if we ever bump nlevels higher than the allowed maximum cursor height. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Chandan Babu R <chandan.babu@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_btree.h')
0 files changed, 0 insertions, 0 deletions