X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdrivers%2Ffilesystems%2Ffastfat_new%2Fcreate.c;h=85d2b5a176d6ba91e90ec0369ba09bde622df906;hp=9a0b94701b1d29f86191c3dbbda1405c6fe02a0e;hb=58df56f2c52f2aac4e7c273c5258a8a19d5d6f3a;hpb=11361e2730cec3eb31464cfa9d39c470d4bb581b diff --git a/reactos/drivers/filesystems/fastfat_new/create.c b/reactos/drivers/filesystems/fastfat_new/create.c index 9a0b94701b1..85d2b5a176d 100644 --- a/reactos/drivers/filesystems/fastfat_new/create.c +++ b/reactos/drivers/filesystems/fastfat_new/create.c @@ -527,6 +527,9 @@ FatiCreate(IN PFAT_IRP_CONTEXT IrpContext, since we're opening files here */ if (EndBackslash) { + /* Unlock VCB */ + FatReleaseVcb(IrpContext, Vcb); + /* Complete the request */ Iosb.Status = STATUS_OBJECT_NAME_INVALID; FatCompleteRequest(IrpContext, Irp, Iosb.Status); @@ -552,6 +555,9 @@ FatiCreate(IN PFAT_IRP_CONTEXT IrpContext, Irp->IoStatus.Information = Iosb.Information; } + /* Unlock VCB */ + FatReleaseVcb(IrpContext, Vcb); + /* Complete the request */ FatCompleteRequest(IrpContext, Irp, Iosb.Status); @@ -564,7 +570,6 @@ FatCreate(PDEVICE_OBJECT DeviceObject, PIRP Irp) { PFAT_IRP_CONTEXT IrpContext; NTSTATUS Status; - //PVOLUME_DEVICE_OBJECT VolumeDO = (PVOLUME_DEVICE_OBJECT)DeviceObject; DPRINT1("FatCreate()\n");