aboutsummaryrefslogtreecommitdiff
path: root/fs/bcachefs/btree_locking.c
diff options
context:
space:
mode:
authorGravatar Kent Overstreet <kent.overstreet@linux.dev> 2024-04-10 21:51:37 -0400
committerGravatar Kent Overstreet <kent.overstreet@linux.dev> 2024-05-08 17:29:19 -0400
commite590e4e2229409d0e5dc6575a75488d5ebc33b45 (patch)
tree63e9dbf577289d3ff856b9d3fd54d3fa63563753 /fs/bcachefs/btree_locking.c
parentbcachefs: trans->locked (diff)
downloadlinux-e590e4e2229409d0e5dc6575a75488d5ebc33b45.tar.gz
linux-e590e4e2229409d0e5dc6575a75488d5ebc33b45.tar.bz2
linux-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