mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 10:52:52 +00:00
Removed obsolete 'optimization'.
svn path=/trunk/; revision=2850
This commit is contained in:
parent
3febeb4ae5
commit
e00643eb28
|
@ -1,4 +1,4 @@
|
|||
/* $Id: symlink.c,v 1.25 2002/02/19 14:06:36 ekohl Exp $
|
||||
/* $Id: symlink.c,v 1.26 2002/04/15 12:38:01 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -85,9 +85,7 @@ IopParseSymbolicLink(PVOID Object,
|
|||
POBJECT_TYPE ObjectType,
|
||||
ULONG Attributes)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
PSYMLNK_OBJECT SymlinkObject = (PSYMLNK_OBJECT) Object;
|
||||
PVOID ReturnedObject;
|
||||
UNICODE_STRING TargetPath;
|
||||
|
||||
DPRINT("IopParseSymbolicLink (RemainingPath %S)\n", *RemainingPath);
|
||||
|
@ -103,20 +101,6 @@ IopParseSymbolicLink(PVOID Object,
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
Status = ObReferenceObjectByName(SymlinkObject->Target.ObjectName,
|
||||
0,
|
||||
NULL,
|
||||
STANDARD_RIGHTS_REQUIRED,
|
||||
NULL,
|
||||
UserMode,
|
||||
NULL,
|
||||
&ReturnedObject);
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
*NextObject = ReturnedObject;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/* build the expanded path */
|
||||
TargetPath.MaximumLength = SymlinkObject->TargetName.Length + sizeof(WCHAR);
|
||||
if (RemainingPath && *RemainingPath)
|
||||
|
|
Loading…
Reference in a new issue