mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
- If data is going to be modified, CcPinRead should be used instead of CcMapData. Fix this.
svn path=/trunk/; revision=36877
This commit is contained in:
parent
42d35acde0
commit
ca19f82e42
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ FATAddEntry(
|
|||
if (RequestedOptions & FILE_DIRECTORY_FILE)
|
||||
{
|
||||
FileOffset.QuadPart = 0;
|
||||
CcMapData((*Fcb)->FileObject, &FileOffset, DeviceExt->FatInfo.BytesPerCluster, TRUE,
|
||||
CcPinRead((*Fcb)->FileObject, &FileOffset, DeviceExt->FatInfo.BytesPerCluster, TRUE,
|
||||
&Context, (PVOID*)&pFatEntry);
|
||||
/* clear the new directory cluster */
|
||||
RtlZeroMemory(pFatEntry, DeviceExt->FatInfo.BytesPerCluster);
|
||||
|
|
Loading…
Reference in a new issue