|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XENBUS PATCH v6 05/11] xenbus: Use nonpaged pool in FdoQueryId
Allow the DeviceID result to eventually be accessed from DISPATCH_LEVEL.
Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx>
---
src/xenbus/fdo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xenbus/fdo.c b/src/xenbus/fdo.c
index b844f36..7ee44a6 100644
--- a/src/xenbus/fdo.c
+++ b/src/xenbus/fdo.c
@@ -627,7 +627,7 @@ FdoQueryId(
Buffer = (PWSTR)StatusBlock.Information;
Length = (ULONG)(wcslen(Buffer) + 1) * sizeof (CHAR);
- *Id = __AllocatePoolWithTag(PagedPool, Length, 'SUB');
+ *Id = __AllocatePoolWithTag(NonPagedPool, Length, 'SUB');
status = STATUS_NO_MEMORY;
if (*Id == NULL)
--
2.50.1.windows.1
Ngoc Tu Dinh | Vates XCP-ng Developer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |