mirror of
https://github.com/reactos/reactos.git
synced 2025-05-11 13:27:47 +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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -596,10 +596,10 @@ VfatWriteFile (PDEVICE_EXTENSION DeviceExt, PFILE_OBJECT FileObject,
|
||||||
&Fcb->entry.UpdateDate,
|
&Fcb->entry.UpdateDate,
|
||||||
&Fcb->entry.UpdateTime);
|
&Fcb->entry.UpdateTime);
|
||||||
Fcb->entry.AccessDate = Fcb->entry.UpdateDate;
|
Fcb->entry.AccessDate = Fcb->entry.UpdateDate;
|
||||||
}
|
|
||||||
// update dates/times and length
|
// update dates/times and length
|
||||||
updEntry (DeviceExt, FileObject);
|
updEntry (DeviceExt, FileObject);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue