summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ntfs3/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c
index 1e01184f4ee2..642bd63932d0 100644
--- a/fs/ntfs3/super.c
+++ b/fs/ntfs3/super.c
@@ -1284,7 +1284,7 @@ load_root:
sb->s_root = d_make_root(inode);
if (!sb->s_root) {
- err = -EINVAL;
+ err = -ENOMEM;
goto out;
}