diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 73bd58fa13de40e8c010bfcd0fb96764ab792f79..0c38e31ec938b762398dbcbfa8fd4f112296b726 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c @@ -895,6 +895,7 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent) if (sb->s_magic != EXT2_SUPER_MAGIC) goto cantfind_ext2; + opts.s_mount_opt = 0; /* Set defaults before we parse the mount options */ def_mount_opts = le32_to_cpu(es->s_default_mount_opts); if (def_mount_opts & EXT2_DEFM_DEBUG)