mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
Major refactoring: IRP_MJ_CREATE
This commit is contained in:
parent
645dafa5c6
commit
d773e2f96a
@ -46,6 +46,7 @@ enum
|
||||
{
|
||||
FspFsctlTransactUnknownKind = 0,
|
||||
FspFsctlTransactCreateKind,
|
||||
FspFsctlTransactCleanupKind,
|
||||
FspFsctlTransactCloseKind,
|
||||
FspFsctlTransactReadKind,
|
||||
FspFsctlTransactWriteKind,
|
||||
@ -61,7 +62,6 @@ enum
|
||||
FspFsctlTransactDeviceControlKind,
|
||||
FspFsctlTransactShutdownKind,
|
||||
FspFsctlTransactLockControlKind,
|
||||
FspFsctlTransactCleanupKind,
|
||||
FspFsctlTransactQuerySecurityKind,
|
||||
FspFsctlTransactSetSecurityKind,
|
||||
FspFsctlTransactKindCount,
|
||||
|
@ -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;\
|
||||
|
Loading…
x
Reference in New Issue
Block a user