commit | a7a6df222351de23791bb64165f14c21ff4d1653 | [log] [tgz] |
---|---|---|
author | Julien Grall <julien.grall@citrix.com> | Tue Jun 30 11:58:51 2015 +0100 |
committer | David Vrabel <david.vrabel@citrix.com> | Fri Oct 23 14:20:35 2015 +0100 |
tree | c6dcd1771b20c0ba0465731e6a8cd9f0590a89fa | |
parent | 33204663ef85d9ce79009b2246afe6a2fef8eb1b [diff] |
block/xen-blkfront: Store a page rather a pfn in the grant structure All the usage of the field pfn are done using the same idiom: pfn_to_page(grant->pfn) This will return always the same page. Store directly the page in the grant to clean up the code. Signed-off-by: Julien Grall <julien.grall@citrix.com> Acked-by: Roger Pau Monné <roger.pau@citrix.com> Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>