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-path-selector.h | |
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-path-selector.h')
-rw-r--r-- | drivers/md/dm-path-selector.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/md/dm-path-selector.h b/drivers/md/dm-path-selector.h index 732d06a84f85..27357b85d73d 100644 --- a/drivers/md/dm-path-selector.h +++ b/drivers/md/dm-path-selector.h | |||
@@ -44,7 +44,7 @@ struct path_selector_type { | |||
44 | * Add an opaque path object, along with some selector specific | 44 | * Add an opaque path object, along with some selector specific |
45 | * path args (eg, path priority). | 45 | * path args (eg, path priority). |
46 | */ | 46 | */ |
47 | int (*add_path) (struct path_selector *ps, struct path *path, | 47 | int (*add_path) (struct path_selector *ps, struct dm_path *path, |
48 | int argc, char **argv, char **error); | 48 | int argc, char **argv, char **error); |
49 | 49 | ||
50 | /* | 50 | /* |
@@ -55,27 +55,27 @@ struct path_selector_type { | |||
55 | * calling the function again. 0 means don't call it again unless | 55 | * calling the function again. 0 means don't call it again unless |
56 | * the path fails. | 56 | * the path fails. |
57 | */ | 57 | */ |
58 | struct path *(*select_path) (struct path_selector *ps, | 58 | struct dm_path *(*select_path) (struct path_selector *ps, |
59 | unsigned *repeat_count); | 59 | unsigned *repeat_count); |
60 | 60 | ||
61 | /* | 61 | /* |
62 | * Notify the selector that a path has failed. | 62 | * Notify the selector that a path has failed. |
63 | */ | 63 | */ |
64 | void (*fail_path) (struct path_selector *ps, struct path *p); | 64 | void (*fail_path) (struct path_selector *ps, struct dm_path *p); |
65 | 65 | ||
66 | /* | 66 | /* |
67 | * Ask selector to reinstate a path. | 67 | * Ask selector to reinstate a path. |
68 | */ | 68 | */ |
69 | int (*reinstate_path) (struct path_selector *ps, struct path *p); | 69 | int (*reinstate_path) (struct path_selector *ps, struct dm_path *p); |
70 | 70 | ||
71 | /* | 71 | /* |
72 | * Table content based on parameters added in ps_add_path_fn | 72 | * Table content based on parameters added in ps_add_path_fn |
73 | * or path selector status | 73 | * or path selector status |
74 | */ | 74 | */ |
75 | int (*status) (struct path_selector *ps, struct path *path, | 75 | int (*status) (struct path_selector *ps, struct dm_path *path, |
76 | status_type_t type, char *result, unsigned int maxlen); | 76 | status_type_t type, char *result, unsigned int maxlen); |
77 | 77 | ||
78 | int (*end_io) (struct path_selector *ps, struct path *path); | 78 | int (*end_io) (struct path_selector *ps, struct dm_path *path); |
79 | }; | 79 | }; |
80 | 80 | ||
81 | /* Register a path selector */ | 81 | /* Register a path selector */ |