mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:15:58 +00:00
[CDFS] Implement open handle count
This commit is contained in:
parent
fa0327d6c5
commit
95447d2fd1
3 changed files with 8 additions and 0 deletions
|
@ -241,6 +241,8 @@ CdfsCreateFile(PDEVICE_OBJECT DeviceObject,
|
|||
CdfsCloseFile (DeviceExt, FileObject);
|
||||
return STATUS_NOT_A_DIRECTORY;
|
||||
}
|
||||
|
||||
DeviceExt->OpenHandleCount++;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -271,6 +273,7 @@ CdfsCreate(
|
|||
/* DeviceObject represents FileSystem instead of logical volume */
|
||||
DPRINT("Opening file system\n");
|
||||
IrpContext->Irp->IoStatus.Information = FILE_OPENED;
|
||||
DeviceExt->OpenHandleCount++;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue