server: Ignore FILE_DIRECTORY_FILE on special files.

oldstable
Alexandre Julliard 2015-05-18 17:49:56 +09:00
parent 871ab51233
commit 47eec1364a
1 changed files with 0 additions and 5 deletions

View File

@ -1865,11 +1865,6 @@ struct fd *open_fd( struct fd *root, const char *name, int flags, mode_t *mode,
}
else /* special file */
{
if (options & FILE_DIRECTORY_FILE)
{
set_error( STATUS_NOT_A_DIRECTORY );
goto error;
}
if (unlink_name[0]) /* we can't unlink special files */
{
set_error( STATUS_INVALID_PARAMETER );