bcachefs: Fix accounting replay flags
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 12 Oct 2024 06:44:38 +0000 (02:44 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 12 Oct 2024 07:02:16 +0000 (03:02 -0400)
commit672f75238e54a642d3ccbcb62d3977383ab50bb0
treedbec0604f16d765f7d2652c11636e35d27763779
parentc1bd21bb65182afca490db4031890802a1a546b7
bcachefs: Fix accounting replay flags

BCH_TRANS_COMMIT_journal_reclaim without BCH_WATERMARK_reclaim means
"return an error if low on journal space" - but accounting replay must
succeed.

Fixes https://github.com/koverstreet/bcachefs/issues/656

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