bcachefs: BTREE_INSERT_LAZY_RW is only for recovery path
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 10 Jan 2022 01:55:58 +0000 (20:55 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:22 +0000 (17:09 -0400)
commit6214485b6f74c098615401ae3cde74f87396a298
tree15abbc23c74e0605058d7406a986ad2f2208315b
parent8ede99101ec354053ac755419df9da5434a13733
bcachefs: BTREE_INSERT_LAZY_RW is only for recovery path

BTREE_INSERT_LAZY_RW shouldn't do anything after the filesystem has
finished starting up - otherwise, it might interfere with going
read-only as part of shutting down.

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