mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 22:02:18 +00:00
- Remove a ROS hack in IopCloseFile.
svn path=/trunk/; revision=22929
This commit is contained in:
parent
6555616bb6
commit
2002b5b96a
|
@ -963,13 +963,6 @@ IopCloseFile(IN PEPROCESS Process OPTIONAL,
|
||||||
/* Make sure this is the last handle */
|
/* Make sure this is the last handle */
|
||||||
if (SystemHandleCount != 1) return;
|
if (SystemHandleCount != 1) return;
|
||||||
|
|
||||||
/* FIXME: ROS HACK */
|
|
||||||
if (!FileObject->DeviceObject)
|
|
||||||
{
|
|
||||||
DPRINT1("FIXME: MALFORMED FILE OBJECT!\n");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Check if this is a direct open or not */
|
/* Check if this is a direct open or not */
|
||||||
if (FileObject->Flags & FO_DIRECT_DEVICE_OPEN)
|
if (FileObject->Flags & FO_DIRECT_DEVICE_OPEN)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue