mirror of
https://github.com/reactos/reactos.git
synced 2025-05-08 19:27:00 +00:00
Fixed a bug, when there is a write operation to the root directory, vfat crashs.
svn path=/trunk/; revision=2293
This commit is contained in:
parent
ef4b8d4947
commit
061fadc77a
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue