mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-15 00:02:46 -05:00
Major refactoring: IRP_MJ_CREATE
This commit is contained in:
@ -288,9 +288,9 @@ static NTSTATUS FspFsvolCreate(
|
||||
NTSTATUS FspFsvolCreatePrepare(
|
||||
PIRP Irp, FSP_FSCTL_TRANSACT_REQ *Request)
|
||||
{
|
||||
FSP_ENTER_IOP(PAGED_CODE());
|
||||
PAGED_CODE();
|
||||
|
||||
FSP_LEAVE_IOP();
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
VOID FspFsvolCreateComplete(
|
||||
|
@ -135,12 +135,6 @@ extern __declspec(selectany) int bpglobal = 1;
|
||||
FspIopCompleteIrpEx(Irp, Result, fsp_device_release);\
|
||||
); \
|
||||
return Result
|
||||
#define FSP_ENTER_IOP(...) \
|
||||
NTSTATUS Result = STATUS_SUCCESS; \
|
||||
PIO_STACK_LOCATION IrpSp = IoGetCurrentIrpStackLocation(Irp); (VOID)IrpSp;\
|
||||
FSP_ENTER_NOCRIT_(__VA_ARGS__)
|
||||
#define FSP_LEAVE_IOP() \
|
||||
FSP_LEAVE_NOCRIT_(); return Result
|
||||
#define FSP_ENTER_IOC(...) \
|
||||
NTSTATUS Result = STATUS_SUCCESS; \
|
||||
PIO_STACK_LOCATION IrpSp = IoGetCurrentIrpStackLocation(Irp); (VOID)IrpSp;\
|
||||
|
Reference in New Issue
Block a user