From a141ea751dd9f200e2b8e81d2ab1f81d3c4283dd Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Tue, 27 Nov 2007 23:25:56 +0000 Subject: [PATCH] use ExAllocatePoolWithTag instead of ExAllocatePool svn path=/trunk/; revision=30827 --- reactos/drivers/filesystems/vfat/fcb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/filesystems/vfat/fcb.c b/reactos/drivers/filesystems/vfat/fcb.c index e422bfc5509..43f7d3c2368 100644 --- a/reactos/drivers/filesystems/vfat/fcb.c +++ b/reactos/drivers/filesystems/vfat/fcb.c @@ -76,7 +76,7 @@ vfatInitFcb(PVFATFCB Fcb, PUNICODE_STRING NameU) else PathNameBufferLength = 0; - Fcb->PathNameBuffer = ExAllocatePool(NonPagedPool, PathNameBufferLength); + Fcb->PathNameBuffer = ExAllocatePoolWithTag(NonPagedPool, PathNameBufferLength, TAG_FCB); if (!Fcb->PathNameBuffer) { /* FIXME: what to do if no more memory? */ @@ -454,7 +454,7 @@ vfatMakeFCBFromDirEntry( { return STATUS_OBJECT_NAME_INVALID; } - PathNameBuffer = ExAllocatePool(NonPagedPool, PathNameLength + sizeof(WCHAR)); + PathNameBuffer = ExAllocatePoolWithTag(NonPagedPool, PathNameLength + sizeof(WCHAR), TAG_FCB); if (!PathNameBuffer) { return STATUS_INSUFFICIENT_RESOURCES;