aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-emc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-emc.c')
-rw-r--r--drivers/md/dm-emc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/md/dm-emc.c b/drivers/md/dm-emc.c
index 2b2d45d7baaa..265c467854da 100644
--- a/drivers/md/dm-emc.c
+++ b/drivers/md/dm-emc.c
@@ -40,7 +40,7 @@ static inline void free_bio(struct bio *bio)
40 40
41static int emc_endio(struct bio *bio, unsigned int bytes_done, int error) 41static int emc_endio(struct bio *bio, unsigned int bytes_done, int error)
42{ 42{
43 struct path *path = bio->bi_private; 43 struct dm_path *path = bio->bi_private;
44 44
45 if (bio->bi_size) 45 if (bio->bi_size)
46 return 1; 46 return 1;
@@ -61,7 +61,7 @@ static int emc_endio(struct bio *bio, unsigned int bytes_done, int error)
61 return 0; 61 return 0;
62} 62}
63 63
64static struct bio *get_failover_bio(struct path *path, unsigned data_size) 64static struct bio *get_failover_bio(struct dm_path *path, unsigned data_size)
65{ 65{
66 struct bio *bio; 66 struct bio *bio;
67 struct page *page; 67 struct page *page;
@@ -96,7 +96,7 @@ static struct bio *get_failover_bio(struct path *path, unsigned data_size)
96} 96}
97 97
98static struct request *get_failover_req(struct emc_handler *h, 98static struct request *get_failover_req(struct emc_handler *h,
99 struct bio *bio, struct path *path) 99 struct bio *bio, struct dm_path *path)
100{ 100{
101 struct request *rq; 101 struct request *rq;
102 struct block_device *bdev = bio->bi_bdev; 102 struct block_device *bdev = bio->bi_bdev;
@@ -133,7 +133,7 @@ static struct request *get_failover_req(struct emc_handler *h,
133} 133}
134 134
135static struct request *emc_trespass_get(struct emc_handler *h, 135static struct request *emc_trespass_get(struct emc_handler *h,
136 struct path *path) 136 struct dm_path *path)
137{ 137{
138 struct bio *bio; 138 struct bio *bio;
139 struct request *rq; 139 struct request *rq;
@@ -191,7 +191,7 @@ static struct request *emc_trespass_get(struct emc_handler *h,
191} 191}
192 192
193static void emc_pg_init(struct hw_handler *hwh, unsigned bypassed, 193static void emc_pg_init(struct hw_handler *hwh, unsigned bypassed,
194 struct path *path) 194 struct dm_path *path)
195{ 195{
196 struct request *rq; 196 struct request *rq;
197 struct request_queue *q = bdev_get_queue(path->dev->bdev); 197 struct request_queue *q = bdev_get_queue(path->dev->bdev);