Major refactoring: WIP

This commit is contained in:
Bill Zissimopoulos
2015-12-22 17:27:14 -08:00
parent 00c812e380
commit 7a12fe0713
4 changed files with 141 additions and 129 deletions

View File

@ -28,7 +28,8 @@ static NTSTATUS FspFsctlCleanup(
{
PAGED_CODE();
FspVolumeDelete(DeviceObject, Irp, IrpSp);
if (0 != IrpSp->FileObject->FsContext2)
FspVolumeDelete(DeviceObject, Irp, IrpSp);
Irp->IoStatus.Information = 0;
return STATUS_SUCCESS;