]> xenbits.xensource.com Git - pvdrivers/win/xenvbd.git/commitdiff
Match __FreePage with __AllocatePage calls
authorOwen Smith <owen.smith@citrix.com>
Mon, 21 Jun 2021 12:54:44 +0000 (13:54 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 21 Jun 2021 13:32:04 +0000 (14:32 +0100)
Replace __FreePages with __FreePage when the memory was allocated with
__AllocatePage. This is a cosmetic change, as __FreePage is an alias for
__FreePages

Signed-off-by: Owen Smith <owen.smith@citrix.com>
src/xenvbd/adapter.c
src/xenvbd/ring.c

index 67dd14c6efc2007fee30abceeddc7e3aee403d5c..9fd2abc44d73dfa9b3c6a4d63a8bac7245001ad3 100644 (file)
@@ -1166,7 +1166,7 @@ AdapterBounceDtor(
 
     Bounce->BouncePtr = NULL;
 
-    __FreePages(Bounce->BounceMdl);
+    __FreePage(Bounce->BounceMdl);
     Bounce->BounceMdl = NULL;
 }
 
index bfe62a822c27cda2d081c37b7e93cc876b23a0ef..66e8cdd9ac60f6e2da0b2bf74d8fee5e49fc434e 100644 (file)
@@ -494,7 +494,7 @@ BlkifRingIndirectDtor(
 
     UNREFERENCED_PARAMETER(Argument);
 
-    __FreePages(Indirect->Mdl);
+    __FreePage(Indirect->Mdl);
     Indirect->Page = NULL;
     Indirect->Mdl = NULL;
 }