mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:05:41 +00:00
[FASTFAT] Finally drop the TAG_VFAT allocation tag
This commit is contained in:
parent
6c75215bb3
commit
4bb1baa860
7 changed files with 35 additions and 32 deletions
|
@ -122,7 +122,7 @@ FindFile(
|
|||
DPRINT("FindFile: Path %wZ\n",&Parent->PathNameU);
|
||||
|
||||
PathNameBufferLength = LONGNAME_MAX_LENGTH * sizeof(WCHAR);
|
||||
PathNameBuffer = ExAllocatePoolWithTag(NonPagedPool, PathNameBufferLength + sizeof(WCHAR), TAG_VFAT);
|
||||
PathNameBuffer = ExAllocatePoolWithTag(NonPagedPool, PathNameBufferLength + sizeof(WCHAR), TAG_NAME);
|
||||
if (!PathNameBuffer)
|
||||
{
|
||||
return STATUS_INSUFFICIENT_RESOURCES;
|
||||
|
@ -173,7 +173,7 @@ FindFile(
|
|||
Status = STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
vfatReleaseFCB(DeviceExt, rcFcb);
|
||||
ExFreePool(PathNameBuffer);
|
||||
ExFreePoolWithTag(PathNameBuffer, TAG_NAME);
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
|
@ -183,7 +183,7 @@ FindFile(
|
|||
Status = RtlUpcaseUnicodeString(&FileToFindUpcase, FileToFindU, TRUE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
ExFreePool(PathNameBuffer);
|
||||
ExFreePoolWithTag(PathNameBuffer, TAG_NAME);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
@ -251,7 +251,7 @@ FindFile(
|
|||
CcUnpinData(Context);
|
||||
}
|
||||
RtlFreeUnicodeString(&FileToFindUpcase);
|
||||
ExFreePool(PathNameBuffer);
|
||||
ExFreePoolWithTag(PathNameBuffer, TAG_NAME);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
DirContext->DirIndex++;
|
||||
|
@ -263,7 +263,7 @@ FindFile(
|
|||
}
|
||||
|
||||
RtlFreeUnicodeString(&FileToFindUpcase);
|
||||
ExFreePool(PathNameBuffer);
|
||||
ExFreePoolWithTag(PathNameBuffer, TAG_NAME);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue