diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-22 15:40:24 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-23 07:59:43 -0400 |
commit | 659489f37bd0471d5a77abdfe86eb105ad11297e (patch) | |
tree | b1650a70e1a5590c80b1f51b6a3df69728c34fe5 /scripts/gdb/linux/utils.py | |
parent | 2a6c0136ae9ac44f2b097e469d4cee95cd11e4f8 (diff) |
bcachefs: Kill bch2_path_put_nokeep()
bch2_path_put_nokeep() was intended for paths we wouldn't need to
preserve for a transaction restart - it always frees them right away
when the ref hits 0.
But since paths are shared, freeing unconditionally is a bug, the path
might have been used elsewhere and have should_be_locked set, i.e. we
need to keep it locked until the end of the transaction.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions