summaryrefslogtreecommitdiff
path: root/fs/bcachefs/inode.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-11-29 03:24:06 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:12 -0400
commit01a0108f0139a2f6dbace54dd5d592d2d76415c1 (patch)
treefe200e5b3d2fa57ccf9cf338766ffb0873870d2a /fs/bcachefs/inode.c
parent5b8a9227f8a4acd9652d6d89a608fbf4c39c6f44 (diff)
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/inode.c')
0 files changed, 0 insertions, 0 deletions