diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-29 14:30:01 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-30 11:49:34 -0400 |
commit | 5e63d579e752549dc256a952bcb35ade398ee921 (patch) | |
tree | f996b7b4fe9ab17ba508f1b0465118639b620c08 /scripts/gdb/linux/utils.py | |
parent | 2feaa92c7c0123013a2a3e3d02ff8a5f5a794e96 (diff) |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions