]> www.infradead.org Git - users/hch/xfs.git/commit
bcachefs: Fix initialization order for srcu barrier
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 12 Jun 2024 23:28:13 +0000 (19:28 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 19 Jun 2024 22:27:23 +0000 (18:27 -0400)
commitf770a6e9a3d7a90f77863b51325614f37a57fef5
tree69bf24d4546bdf750ed38bae6b4d2bac140ce9f8
parent6ba59ff4227927d3a8530fc2973b80e94b54d58f
bcachefs: Fix initialization order for srcu barrier

btree_iter_init() needs to happen before key_cache_init(), to initialize
btree_trans_barrier

Reported-by: syzbot+3cca837c2183f8f6fcaf@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super.c