Skip to contentSkip to conversation

grant-table: clear page->private in gnttab_copy_grant_page

PATCH New Ian Campbell 1 participant 1 message Feb 23, 2010 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 grant-table: clear page->private in gnttab_copy_grant_page

The tracker is now tracking new_page and not page.

---
 drivers/xen/grant-table.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/xen/grant-table.c +1 -0
index f225cb1..6c6f884 100644
@@ -875,6 +875,7 @@ int gnttab_copy_grant_page(grant_ref_t ref, struct page **pagep)
 
 	SetPageForeign(page, gnttab_page_free);
 	ClearPageReserved(page);
+	page->private = 0UL;
 	page->mapping = NULL;
 
 out:
Signature · 1 line
1.5.6.5