summaryrefslogtreecommitdiff
path: root/drivers/block/xen-blkback/common.h
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@linaro.org>2015-06-17 17:28:08 +0300
committerDavid Vrabel <david.vrabel@citrix.com>2015-06-17 18:35:19 +0300
commit6684fa1cdb1ebe804e9707f389255d461b2e95b0 (patch)
tree3ffde0c1aa4dbe3d92608505e4c7a594a767fb8e /drivers/block/xen-blkback/common.h
parentee4b7179fc9bf19fd22f9d17757a86582c40229e (diff)
downloadlinux-6684fa1cdb1ebe804e9707f389255d461b2e95b0.tar.xz
block/xen-blkback: s/nr_pages/nr_segs/
Make the code less confusing to read now that Linux may not have the same page size as Xen. Signed-off-by: Julien Grall <julien.grall@citrix.com> Acked-by: Roger Pau Monné <roger.pau@citrix.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/block/xen-blkback/common.h')
-rw-r--r--drivers/block/xen-blkback/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h
index f620b5d3f77c..7a03e07f52f3 100644
--- a/drivers/block/xen-blkback/common.h
+++ b/drivers/block/xen-blkback/common.h
@@ -343,7 +343,7 @@ struct grant_page {
struct pending_req {
struct xen_blkif *blkif;
u64 id;
- int nr_pages;
+ int nr_segs;
atomic_t pendcnt;
unsigned short operation;
int status;