forked from Minki/linux
c922d5f7f5
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>
26 lines
497 B
C
26 lines
497 B
C
/*
|
|
* Copyright (C) 2004 Red Hat, Inc. All rights reserved.
|
|
*
|
|
* This file is released under the GPL.
|
|
*
|
|
* Multipath.
|
|
*/
|
|
|
|
#ifndef DM_MPATH_H
|
|
#define DM_MPATH_H
|
|
|
|
struct dm_dev;
|
|
|
|
struct dm_path {
|
|
struct dm_dev *dev; /* Read-only */
|
|
unsigned is_active; /* Read-only */
|
|
|
|
void *pscontext; /* For path-selector use */
|
|
void *hwhcontext; /* For hw-handler use */
|
|
};
|
|
|
|
/* Callback for hwh_pg_init_fn to use when complete */
|
|
void dm_pg_init_complete(struct dm_path *path, unsigned err_flags);
|
|
|
|
#endif
|