diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c index 1e01184f4ee251c05f6df6a54ea29e289dc11a52..642bd63932d09edef15321dc3878ba3e3eb6d4b1 100644 --- a/fs/ntfs3/super.c +++ b/fs/ntfs3/super.c @@ -1284,7 +1284,7 @@ static int ntfs_fill_super(struct super_block *sb, struct fs_context *fc) sb->s_root = d_make_root(inode); if (!sb->s_root) { - err = -EINVAL; + err = -ENOMEM; goto out; }