aboutsummaryrefslogtreecommitdiffstats
path: root/fsck/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'fsck/mount.c')
-rw-r--r--fsck/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fsck/mount.c b/fsck/mount.c
index c4dfb0a..4c807f9 100644
--- a/fsck/mount.c
+++ b/fsck/mount.c
@@ -339,6 +339,7 @@ int validate_super_block(struct f2fs_sb_info *sbi, int block)
}
free(sbi->raw_super);
+ sbi->raw_super = NULL;
MSG(0, "\tCan't find a valid F2FS superblock at 0x%x\n", block);
return -EINVAL;