1
0
mirror of https://github.com/winfsp/winfsp.git synced 2025-12-25 13:32:08 -06:00

sys: FSP_ENTER_MJ, FSP_LEAVE_MJ

This commit is contained in:
Bill Zissimopoulos
2015-11-19 15:59:03 -08:00
parent 7c372f9eab
commit 9045db1026
18 changed files with 217 additions and 68 deletions

View File

@@ -17,9 +17,9 @@ FspClose(
_In_ PDEVICE_OBJECT DeviceObject,
_In_ PIRP Irp)
{
FSP_ENTER(PAGED_CODE());
FSP_ENTER_MJ(PAGED_CODE());
ASSERT(IRP_MJ_CLOSE == IoGetCurrentIrpStackLocation(Irp)->MajorFunction);
ASSERT(IRP_MJ_CLOSE == IrpSp->MajorFunction);
if (FspFileSystemDeviceExtensionKind == FspDeviceExtension(DeviceObject)->Kind)
{
@@ -34,5 +34,5 @@ FspClose(
IoCompleteRequest(Irp, IO_NO_INCREMENT);
Result = STATUS_INVALID_DEVICE_REQUEST;
FSP_LEAVE("", 0);
FSP_LEAVE_MJ("", 0);
}