bcachefs: fix fsck error

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2022-12-25 15:31:27 -05:00
parent 60573ff5d0
commit 149651dc6c

View File

@ -557,7 +557,7 @@ enum btree_validate_ret {
\
if (type == BTREE_ERR_FIXABLE && \
write == READ && \
!test_bit(BCH_FS_INITIAL_GC_DONE, &c->flags)) { \
!test_bit(BCH_FS_FSCK_DONE, &c->flags)) { \
mustfix_fsck_err(c, "%s", out.buf); \
goto out; \
} \