mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Josef "Jeff" Sipek](/assets/img/avatar_default.png)
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>
25 lines
497 B
C
25 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
|