diff options
Diffstat (limited to 'drivers/md/dm-mpath.c')
-rw-r--r-- | drivers/md/dm-mpath.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index cf8bf052138e..e9dfe2c98059 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c | |||
@@ -31,7 +31,7 @@ struct pgpath { | |||
31 | struct priority_group *pg; /* Owning PG */ | 31 | struct priority_group *pg; /* Owning PG */ |
32 | unsigned fail_count; /* Cumulative failure count */ | 32 | unsigned fail_count; /* Cumulative failure count */ |
33 | 33 | ||
34 | struct path path; | 34 | struct dm_path path; |
35 | }; | 35 | }; |
36 | 36 | ||
37 | #define path_to_pgpath(__pgp) container_of((__pgp), struct pgpath, path) | 37 | #define path_to_pgpath(__pgp) container_of((__pgp), struct pgpath, path) |
@@ -229,7 +229,7 @@ static void __switch_pg(struct multipath *m, struct pgpath *pgpath) | |||
229 | 229 | ||
230 | static int __choose_path_in_pg(struct multipath *m, struct priority_group *pg) | 230 | static int __choose_path_in_pg(struct multipath *m, struct priority_group *pg) |
231 | { | 231 | { |
232 | struct path *path; | 232 | struct dm_path *path; |
233 | 233 | ||
234 | path = pg->ps.type->select_path(&pg->ps, &m->repeat_count); | 234 | path = pg->ps.type->select_path(&pg->ps, &m->repeat_count); |
235 | if (!path) | 235 | if (!path) |
@@ -957,7 +957,7 @@ static int bypass_pg_num(struct multipath *m, const char *pgstr, int bypassed) | |||
957 | /* | 957 | /* |
958 | * pg_init must call this when it has completed its initialisation | 958 | * pg_init must call this when it has completed its initialisation |
959 | */ | 959 | */ |
960 | void dm_pg_init_complete(struct path *path, unsigned err_flags) | 960 | void dm_pg_init_complete(struct dm_path *path, unsigned err_flags) |
961 | { | 961 | { |
962 | struct pgpath *pgpath = path_to_pgpath(path); | 962 | struct pgpath *pgpath = path_to_pgpath(path); |
963 | struct priority_group *pg = pgpath->pg; | 963 | struct priority_group *pg = pgpath->pg; |