summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-29 21:30:01 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2025-04-30 18:49:34 +0300
commit5e63d579e752549dc256a952bcb35ade398ee921 (patch)
treef996b7b4fe9ab17ba508f1b0465118639b620c08 /rust/helpers/helpers.c
parent2feaa92c7c0123013a2a3e3d02ff8a5f5a794e96 (diff)
downloadlinux-5e63d579e752549dc256a952bcb35ade398ee921.tar.xz
bcachefs: readdir fixes
- Don't call bch2_trans_relock() after dir_emit(); taking a transaction restart here will cause us to emit the same dirent to userspace twice - Fix incorrect checking of the return value on dir_emit(): "true" means success, keep going, but bch2_dir_emit() needs to return true when we're finished iterating. https://github.com/koverstreet/bcachefs/issues/867 Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions