diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-22 11:54:54 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-25 02:09:52 +0300 |
commit | 353739f1d1675692d9de01483c75c15b314710ac (patch) | |
tree | 2ead171220301bb2dd57d96f51323fe1e5dfaa9f /rust/helpers/err.c | |
parent | c4f89a1d3590243ef1bbd55557a1f55a4a93927d (diff) | |
download | linux-353739f1d1675692d9de01483c75c15b314710ac.tar.xz |
bcachefs: Fix btree_iter_peek_prev() at end of inode
At the end of the inode, on an extents iterator, peek_slot() has to
advance to the next position to avoid returning a 0 size extent, which
is not allowed.
Changing iter->pos confuses peek_prev(), but we don't need to call
peek_slot() in this case.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions