diff --git a/reactos/drivers/filesystems/fastfat_new/fsctl.c b/reactos/drivers/filesystems/fastfat_new/fsctl.c index 3df16de6e85..95f66df5de2 100644 --- a/reactos/drivers/filesystems/fastfat_new/fsctl.c +++ b/reactos/drivers/filesystems/fastfat_new/fsctl.c @@ -100,8 +100,7 @@ FatMountVolume(PFAT_IRP_CONTEXT IrpContext, /* TODO: Initialize VCB for this volume */ - /* Complete the request and return success */ - FatCompleteRequest(IrpContext, IrpContext->Irp, STATUS_SUCCESS); + /* Return success */ return STATUS_SUCCESS; } @@ -129,6 +128,10 @@ FatiFileSystemControl(PFAT_IRP_CONTEXT IrpContext, PIRP Irp) IrpSp->Parameters.MountVolume.DeviceObject, IrpSp->Parameters.MountVolume.Vpb, IrpSp->DeviceObject); + + if (!NT_SUCCESS(Status)) + FatCompleteRequest(IrpContext, Irp, Status); + break; case IRP_MN_VERIFY_VOLUME: