projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d4f270
)
xen-blkfront: free allocated page
author
Roger Pau Monne
<roger.pau@citrix.com>
Fri, 16 Nov 2012 18:26:47 +0000
(19:26 +0100)
committer
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Mon, 26 Nov 2012 19:58:11 +0000
(14:58 -0500)
Free the page allocated for the persistent grant.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkfront.c
patch
|
blob
|
history
diff --git
a/drivers/block/xen-blkfront.c
b/drivers/block/xen-blkfront.c
index
f1de806
..
96e9b00
100644
(file)
--- a/
drivers/block/xen-blkfront.c
+++ b/
drivers/block/xen-blkfront.c
@@
-806,6
+806,7
@@
static void blkif_free(struct blkfront_info *info, int suspend)
all_gnts = llist_del_all(&info->persistent_gnts);
llist_for_each_entry(persistent_gnt, all_gnts, node) {
gnttab_end_foreign_access(persistent_gnt->gref, 0, 0UL);
+ __free_page(pfn_to_page(persistent_gnt->pfn));
kfree(persistent_gnt);
}
info->persistent_gnts_c = 0;