diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-12-25 15:31:27 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:48 -0400 |
commit | 149651dc6c1250b3b51c38391b3677261ac94075 (patch) | |
tree | 600b17b1916c2c7aa7aa773dd80e78d85b6d02b8 /fs/bcachefs/btree_io.c | |
parent | 60573ff5d0de3f54a8af397f5ba9d3ab443f274e (diff) |
bcachefs: fix fsck error
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_io.c')
-rw-r--r-- | fs/bcachefs/btree_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_io.c b/fs/bcachefs/btree_io.c index 9dedac2c7885..81f513c7a1a0 100644 --- a/fs/bcachefs/btree_io.c +++ b/fs/bcachefs/btree_io.c @@ -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; \ } \ |