summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bkey_sort.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-11-29 11:24:06 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:12 +0300
commit01a0108f0139a2f6dbace54dd5d592d2d76415c1 (patch)
treefe200e5b3d2fa57ccf9cf338766ffb0873870d2a /fs/bcachefs/bkey_sort.h
parent5b8a9227f8a4acd9652d6d89a608fbf4c39c6f44 (diff)
downloadlinux-01a0108f0139a2f6dbace54dd5d592d2d76415c1.tar.xz
bcachefs: Fix a btree iter usage error
previously, if the code traversed to the next btree node, that could return an error (due to lock restarts) - which was not being checked for. fix is to rework it so it never iterates past the current leaf node, and pops an assertion if it ever sees an error. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bkey_sort.h')
0 files changed, 0 insertions, 0 deletions