mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-08 13:02:10 -05:00
sys: FSP_LEAVE_IOC fix
This commit is contained in:
parent
fe73fe8267
commit
164b48f453
@ -150,18 +150,7 @@ extern __declspec(selectany) int bpglobal = 1;
|
|||||||
__VA_ARGS__, \
|
__VA_ARGS__, \
|
||||||
NtStatusSym(Result), \
|
NtStatusSym(Result), \
|
||||||
(LONGLONG)Irp->IoStatus.Information);\
|
(LONGLONG)Irp->IoStatus.Information);\
|
||||||
if (STATUS_PENDING == Result) \
|
if (STATUS_PENDING != Result) \
|
||||||
{ \
|
|
||||||
if (0 == (IrpSp->Control & SL_PENDING_RETURNED))\
|
|
||||||
{ \
|
|
||||||
/* if the IRP has not been marked pending already */\
|
|
||||||
FSP_FSVOL_DEVICE_EXTENSION *fsp_leave_FsvolDeviceExtension =\
|
|
||||||
FspFsvolDeviceExtension(IrpSp->DeviceObject);\
|
|
||||||
if (!FspIoqPostIrp(fsp_leave_FsvolDeviceExtension->Ioq, Irp, &Result))\
|
|
||||||
FspIopCompleteIrp(Irp, Result);\
|
|
||||||
} \
|
|
||||||
} \
|
|
||||||
else \
|
|
||||||
FspIopCompleteIrp(Irp, Result);\
|
FspIopCompleteIrp(Irp, Result);\
|
||||||
)
|
)
|
||||||
#define FSP_ENTER_BOOL(...) \
|
#define FSP_ENTER_BOOL(...) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user