]> www.infradead.org Git - users/hch/block.git/commit
bcachefs: fix macro definition allocate_dropping_locks
authorJulian Sun <sunjunchao2870@gmail.com>
Sun, 21 Jul 2024 12:45:47 +0000 (08:45 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 9 Sep 2024 13:41:48 +0000 (09:41 -0400)
commit4d05a083b34f8f31a095402e75cc156fd9c3b257
tree14c4ccedb17691a58d6df077b01268a2b6045ed2
parentba8c52e2b115b88a5d5836485c1945f86df3ba5d
bcachefs: fix macro definition allocate_dropping_locks

The macro allocate_dropping_locks accepts a parameter _trans,
but it was not used, rather the variable trans was directly used,
which may be a local variable inside a function that calls the macros.

Signed-off-by: Julian Sun <sunjunchao2870@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_iter.h