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

The macro allocate_dropping_locks_errocode 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