Fix recent denial of __ntfs_create in reparse point

edge.strict_endians
Yura Pakhuchiy 2007-09-06 18:11:53 +03:00
parent 58ab68b024
commit a1124ce7f4
1 changed files with 2 additions and 2 deletions

View File

@ -1114,8 +1114,8 @@ static ntfs_inode *__ntfs_create(ntfs_inode *dir_ni,
}
/* FIXME: Reparse points requires special handling. */
if (dir_ni->flags & FILE_ATTR_REPARSE_POINT) {
err = EOPNOTSUPP;
goto err_out;
errno = EOPNOTSUPP;
return NULL;
}
/* Allocate MFT record for new file. */
ni = ntfs_mft_record_alloc(dir_ni->vol, NULL);