projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25989f4
)
bcachefs: Fix missing parens in drop_locks_do()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 19 May 2024 21:55:02 +0000
(17:55 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Mon, 20 May 2024 09:37:26 +0000
(
05:37
-0400)
Reported-by: syzbot+95db43b0a06f157ee865@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_iter.h
patch
|
blob
|
history
diff --git
a/fs/bcachefs/btree_iter.h
b/fs/bcachefs/btree_iter.h
index eab2a25bdc7a26df3abf288436f59f4c4f20ef1c..798eb1c47966d29d9aeb0c3a1f888a914745978e 100644
(file)
--- a/
fs/bcachefs/btree_iter.h
+++ b/
fs/bcachefs/btree_iter.h
@@
-838,7
+838,7
@@
__bch2_btree_iter_peek_and_restart(struct btree_trans *trans,
#define drop_locks_do(_trans, _do) \
({ \
bch2_trans_unlock(_trans); \
-
_do ?: bch2_trans_relock(_trans);
\
+
(_do) ?: bch2_trans_relock(_trans);
\
})
#define allocate_dropping_locks_errcode(_trans, _do) \