diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c index 54e85e25a259..eb1b262be45e 100644 --- a/fs/hfsplus/super.c +++ b/fs/hfsplus/super.c @@ -630,6 +630,7 @@ static int hfsplus_fill_super(struct super_block *sb, struct fs_context *fc) unload_nls(sbi->nls); unload_nls(nls); kfree(sbi); + sb->s_fs_info = NULL; return err; }