File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1108,9 +1108,6 @@ int bch2_fs_recovery(struct bch_fs *c)
1108
1108
out :
1109
1109
bch2_flush_fsck_errs (c );
1110
1110
1111
- if (!IS_ERR (clean ))
1112
- kfree (clean );
1113
-
1114
1111
if (!ret &&
1115
1112
test_bit (BCH_FS_need_delete_dead_snapshots , & c -> flags ) &&
1116
1113
!c -> opts .nochanges ) {
@@ -1119,6 +1116,9 @@ int bch2_fs_recovery(struct bch_fs *c)
1119
1116
}
1120
1117
1121
1118
bch_err_fn (c , ret );
1119
+ final_out :
1120
+ if (!IS_ERR (clean ))
1121
+ kfree (clean );
1122
1122
return ret ;
1123
1123
err :
1124
1124
fsck_err :
@@ -1132,7 +1132,7 @@ int bch2_fs_recovery(struct bch_fs *c)
1132
1132
bch2_print_str (c , KERN_ERR , buf .buf );
1133
1133
printbuf_exit (& buf );
1134
1134
}
1135
- return ret ;
1135
+ goto final_out ;
1136
1136
}
1137
1137
1138
1138
int bch2_fs_initialize (struct bch_fs * c )
You can’t perform that action at this time.
0 commit comments