diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-09-07 12:42:27 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:26 -0400 |
commit | 89b0511826c1bde65f57a2e051ee9fcb274bff69 (patch) | |
tree | b6c7e5c5a635005e01c8022b78c3d4284223a494 /fs/bcachefs/recovery.c | |
parent | 5055b50939843c027e1cf4602316035d9f21f032 (diff) | |
download | lwn-89b0511826c1bde65f57a2e051ee9fcb274bff69.tar.gz lwn-89b0511826c1bde65f57a2e051ee9fcb274bff69.zip |
bcachefs: Flush fsck errors when looping in btree gc
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/recovery.c')
-rw-r--r-- | fs/bcachefs/recovery.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c index c9558ccb9a26..5be34231a0c3 100644 --- a/fs/bcachefs/recovery.c +++ b/fs/bcachefs/recovery.c @@ -936,7 +936,9 @@ out: ret = 0; err: fsck_err: + set_bit(BCH_FS_FSCK_DONE, &c->flags); bch2_flush_fsck_errs(c); + journal_keys_free(&journal_keys); journal_entries_free(&journal_entries); kfree(clean); |