bcachefs: Fix locking in __bch2_set_nr_journal_buckets()
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 17 May 2021 03:46:08 +0000 (23:46 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:03 +0000 (17:09 -0400)
commit6ebe32b94c77f80aca235e476bad321ecc355035
tree987e1292fe45b9c27ab901993ba1af0c12afbfdf
parentd125615a4e22194dff9cecd12ec5a608f8c0f920
bcachefs: Fix locking in __bch2_set_nr_journal_buckets()

We weren't holding mark_lock correctly - it's needed for the new_fs
path.

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