diff options
author | Josef "Jeff" Sipek <jsipek@cs.sunysb.edu> | 2006-12-08 05:36:33 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:40 -0500 |
commit | c922d5f7f5457da9e9b5a26dd53e2dcef6ca2f7d (patch) | |
tree | 15e0e7435f428e87662978d23c2567013e56b681 /drivers/md/dm-emc.c | |
parent | fec6d055da71fb02a76f9c2c12427fa79974018b (diff) |
[PATCH] struct path: rename DM's struct path
Rename DM's struct path to struct dm_path to prevent name collision between it
and struct path from fs/namei.c.
Signed-off-by: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu>
Acked-by: Alasdair G Kergon <agk@redhat.com>
Cc: <reiserfs-dev@namesys.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/dm-emc.c')
-rw-r--r-- | drivers/md/dm-emc.c | 10 |
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 | ||
41 | static int emc_endio(struct bio *bio, unsigned int bytes_done, int error) | 41 | static 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 | ||
64 | static struct bio *get_failover_bio(struct path *path, unsigned data_size) | 64 | static 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 | ||
98 | static struct request *get_failover_req(struct emc_handler *h, | 98 | static 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 | ||
135 | static struct request *emc_trespass_get(struct emc_handler *h, | 135 | static 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 | ||
193 | static void emc_pg_init(struct hw_handler *hwh, unsigned bypassed, | 193 | static 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); |