bcachefs: Ensure we're RW before journalling
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 23 May 2024 00:17:05 +0000 (20:17 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 23 May 2024 00:17:33 +0000 (20:17 -0400)
commitcd3b31f9d4174cccafd8da615d73f40c1ce48939
treef5c5d65967124edfb6fa153124ff28fb140f445a
parentd293ece108104967ec3465f253834c0511170f04
bcachefs: Ensure we're RW before journalling

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