aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_int.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-02-04 09:57:48 -0500
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-09-28 04:26:42 -0400
commitdb830c464b69e26ea4d371e38bb2320c99c82f41 (patch)
treea19f1e4432d48830d2895f28e2e93566e3aa46cb /drivers/block/drbd/drbd_int.h
parent6c852beca185b18e89ad7783ab15793c0911f86b (diff)
drbd: Local variable renames: e -> peer_req
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
-rw-r--r--drivers/block/drbd/drbd_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index c7504579c46e..302ccc6d9432 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -1701,9 +1701,9 @@ static inline int drbd_bio_has_active_page(struct bio *bio)
1701 return 0; 1701 return 0;
1702} 1702}
1703 1703
1704static inline int drbd_ee_has_active_page(struct drbd_peer_request *e) 1704static inline int drbd_ee_has_active_page(struct drbd_peer_request *peer_req)
1705{ 1705{
1706 struct page *page = e->pages; 1706 struct page *page = peer_req->pages;
1707 page_chain_for_each(page) { 1707 page_chain_for_each(page) {
1708 if (page_count(page) > 1) 1708 if (page_count(page) > 1)
1709 return 1; 1709 return 1;