--- x/fs/ntfs/namei.c +++ y/fs/ntfs/namei.c @@ -157,7 +157,7 @@ static struct dentry *ntfs_lookup(struct } ntfs_error(vol->sb, "ntfs_lookup_ino_by_name() failed with error " "code %i.", -MREF_ERR(mref)); - return ERR_PTR(MREF_ERR(mref)); + return ERR_PTR(-EIO); // TODO: Consider moving this lot to a separate function! (AIA) handle_name: {