diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-11-07 18:19:37 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:16 +0300 |
commit | 9a74f63c97a5c8fcfd0469a87afb0aa95f55f806 (patch) | |
tree | 8a7bc8f5592ae9ce27bb12c368a4a6ccadb27dbb /fs/bcachefs/inode.h | |
parent | e2b605601ad56904c700569a11fc73db7ecc7acd (diff) | |
download | linux-9a74f63c97a5c8fcfd0469a87afb0aa95f55f806.tar.xz |
bcachefs: path->should_be_locked fixes
- We should only be clearing should_be_locked in btree_path_set_pos() -
it's the responsiblity of the btree_path code, not the btree_iter
code.
- bch2_path_put() needs to pay attention to path->should_be_locked, to
ensure we don't drop locks we're supposed to be keeping.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/inode.h')
0 files changed, 0 insertions, 0 deletions