From 061fadc77a84a92476945e135bb9aa62ccaba9a1 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Thu, 11 Oct 2001 15:39:51 +0000 Subject: [PATCH] Fixed a bug, when there is a write operation to the root directory, vfat crashs. svn path=/trunk/; revision=2293 --- reactos/drivers/fs/vfat/rw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/drivers/fs/vfat/rw.c b/reactos/drivers/fs/vfat/rw.c index e5661e4b3e1..d99e60fd404 100644 --- a/reactos/drivers/fs/vfat/rw.c +++ b/reactos/drivers/fs/vfat/rw.c @@ -1,5 +1,5 @@ -/* $Id: rw.c,v 1.32 2001/10/10 22:19:51 hbirr Exp $ +/* $Id: rw.c,v 1.33 2001/10/11 15:39:51 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -596,9 +596,9 @@ VfatWriteFile (PDEVICE_EXTENSION DeviceExt, PFILE_OBJECT FileObject, &Fcb->entry.UpdateDate, &Fcb->entry.UpdateTime); Fcb->entry.AccessDate = Fcb->entry.UpdateDate; + // update dates/times and length + updEntry (DeviceExt, FileObject); } - // update dates/times and length - updEntry (DeviceExt, FileObject); } return Status;