summaryrefslogtreecommitdiff
path: root/fs/bcachefs/btree_locking.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-04-10 21:51:37 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-05-08 17:29:19 -0400
commite590e4e2229409d0e5dc6575a75488d5ebc33b45 (patch)
tree63e9dbf577289d3ff856b9d3fd54d3fa63563753 /fs/bcachefs/btree_locking.c
parent650db8a87c343c856dcbaed2eb8d184df0308c42 (diff)
downloadlwn-e590e4e2229409d0e5dc6575a75488d5ebc33b45.tar.gz
lwn-e590e4e2229409d0e5dc6575a75488d5ebc33b45.zip
bcachefs: bch2_btree_path_can_relock()
With the new assertions, we shouldn't be holding locks when trans->locked is false, thus, we shouldn't use relock when we just want to check if we can relock. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_locking.c')
0 files changed, 0 insertions, 0 deletions