Skip to content

Commit

Permalink
fix newly introduced missing cleanup when an invalid superblock is fo…
Browse files Browse the repository at this point in the history
…und.
  • Loading branch information
BrianPugh committed Aug 18, 2023
1 parent 2ebfec7 commit a77ed04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -4505,7 +4505,7 @@ static int lfs_rawmount(lfs_t *lfs, const struct lfs_config *cfg) {

err = lfs_validate_superblock(lfs, &superblock);
if(err){
return err;
goto cleanup;
}

err = lfs_scan_for_state_updates(lfs);
Expand Down

0 comments on commit a77ed04

Please sign in to comment.