diff --git a/super.c b/super.c index 7d5651decef2..8d0832a56ea0 100644 --- a/super.c +++ b/super.c @@ -984,7 +984,7 @@ static int exfat_fill_super(struct super_block *sb, void *data, int silent) if (!sb->s_root) { exfat_err(sb, "failed to get the root dentry"); err = -ENOMEM; - goto put_inode; + goto free_table; } return 0;