summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-mpath.h
diff options
context:
space:
mode:
authorJosef "Jeff" Sipek <jsipek@cs.sunysb.edu>2006-12-08 02:36:33 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 08:28:40 -0800
commitc922d5f7f5457da9e9b5a26dd53e2dcef6ca2f7d (patch)
tree15e0e7435f428e87662978d23c2567013e56b681 /drivers/md/dm-mpath.h
parentfec6d055da71fb02a76f9c2c12427fa79974018b (diff)
downloadlinux-c922d5f7f5457da9e9b5a26dd53e2dcef6ca2f7d.tar.gz
linux-c922d5f7f5457da9e9b5a26dd53e2dcef6ca2f7d.tar.bz2
linux-c922d5f7f5457da9e9b5a26dd53e2dcef6ca2f7d.zip
[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-mpath.h')
-rw-r--r--drivers/md/dm-mpath.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-mpath.h b/drivers/md/dm-mpath.h
index 8a4bf2b6d52e..b9cdcbb3ed59 100644
--- a/drivers/md/dm-mpath.h
+++ b/drivers/md/dm-mpath.h
@@ -11,7 +11,7 @@
struct dm_dev;
-struct path {
+struct dm_path {
struct dm_dev *dev; /* Read-only */
unsigned is_active; /* Read-only */
@@ -20,6 +20,6 @@ struct path {
};
/* Callback for hwh_pg_init_fn to use when complete */
-void dm_pg_init_complete(struct path *path, unsigned err_flags);
+void dm_pg_init_complete(struct dm_path *path, unsigned err_flags);
#endif