mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
Call VfatUpdateEntry on each write operation.
svn path=/trunk/; revision=3986
This commit is contained in:
parent
3ce30c75e1
commit
0f02fa7c0d
1 changed files with 2 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
|
||||
/* $Id: rw.c,v 1.52 2003/01/04 02:07:18 hbirr Exp $
|
||||
/* $Id: rw.c,v 1.53 2003/01/11 16:01:28 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -1021,13 +1021,7 @@ NTSTATUS VfatWrite (PVFAT_IRP_CONTEXT IrpContext)
|
|||
&Fcb->entry.UpdateTime);
|
||||
Fcb->entry.AccessDate = Fcb->entry.UpdateDate;
|
||||
// update dates/times and length
|
||||
if (OldAllocationSize != Fcb->RFCB.AllocationSize.u.LowPart)
|
||||
{
|
||||
VfatUpdateEntry (IrpContext->DeviceExt, IrpContext->FileObject);
|
||||
Fcb->Flags &= ~FCB_UPDATE_DIRENTRY;
|
||||
}
|
||||
else
|
||||
Fcb->Flags |= FCB_UPDATE_DIRENTRY;
|
||||
VfatUpdateEntry (IrpContext->DeviceExt, IrpContext->FileObject);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue