bcachefs: Fix an rcu splat
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 20 Nov 2020 21:12:39 +0000 (16:12 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:48 +0000 (17:08 -0400)
commitf3020550777af9a66737334db94d96f8c3253e96
treeec02c0c03da70af7cbfd9915847abfe1321f0385
parentb7a9bbfc1b85730ddf9905289b1a148ea1aa5ade
bcachefs: Fix an rcu splat

bch2_bucket_alloc() requires rcu_read_lock() to be held.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/journal.c