mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Remove no longer needed hack
svn path=/trunk/; revision=23353
This commit is contained in:
@@ -1000,14 +1000,6 @@ IoSetDeviceInterfaceState(IN PUNICODE_STRING SymbolicLinkName,
|
||||
|
||||
ObDereferenceObject(FileObject);
|
||||
|
||||
/* hpoussin, July 2006. Dereferencing the FileObject once
|
||||
* is not enough to trigger the sending of IRP_MJ_CLEANUP.
|
||||
* So, do it once more... According to Alex, it's because
|
||||
* FileObjects should start with a ref count of 1 instead
|
||||
* of 2 at the moment...
|
||||
*/
|
||||
ObDereferenceObject(FileObject);
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user