aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2021-09-16 12:26:46 -0700
committerDarrick J. Wong <[email protected]>2021-10-14 09:19:31 -0700
commit78e8ec83a404d63dcc86b251f42e4ee8aff27465 (patch)
tree51ea0f020e4ed0705ab961ebc494a93bcb372ce2 /net/lapb/lapb_timer.c
parent512edfac85d243ed6a5a5f42f513ebb7c2d32863 (diff)
xfs: fix maxlevels comparisons in the btree staging code
The btree geometry computation function has an off-by-one error in that it does not allow maximally tall btrees (nlevels == XFS_BTREE_MAXLEVELS). This can result in repairs failing unnecessarily on very fragmented filesystems. Subsequent patches to remove MAXLEVELS usage in favor of the per-btree type computations will make this a much more likely occurrence. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Chandan Babu R <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions