diff options
author | Julien Grall <julien.grall@linaro.org> | 2015-06-17 17:28:08 +0300 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-06-17 18:35:19 +0300 |
commit | 6684fa1cdb1ebe804e9707f389255d461b2e95b0 (patch) | |
tree | 3ffde0c1aa4dbe3d92608505e4c7a594a767fb8e /drivers/block/xen-blkback/common.h | |
parent | ee4b7179fc9bf19fd22f9d17757a86582c40229e (diff) | |
download | linux-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.h | 2 |
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; |