* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: create.c,v 1.74 2004/08/31 16:08:37 navaraf Exp $
+/* $Id: create.c,v 1.75 2004/11/06 13:44:56 ekohl Exp $
*
* PROJECT: ReactOS kernel
* FILE: drivers/fs/vfat/create.c
*/
{
NTSTATUS Status;
-
- assert (IrpContext);
-
+
+ ASSERT(IrpContext);
+
if (IrpContext->DeviceObject == VfatGlobalData->DeviceObject)
{
/* DeviceObject represents FileSystem instead of logical volume */
VfatFreeIrpContext(IrpContext);
return(STATUS_SUCCESS);
}
-
+
if (!(IrpContext->Flags & IRPCONTEXT_CANWAIT))
{
return(VfatQueueRequest (IrpContext));
}
-
+
IrpContext->Irp->IoStatus.Information = 0;
ExAcquireResourceExclusiveLite (&IrpContext->DeviceExt->DirResource, TRUE);
Status = VfatCreateFile (IrpContext->DeviceObject, IrpContext->Irp);