git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
linux
/
vroot.h
diff --git
a/include/linux/vroot.h
b/include/linux/vroot.h
index
ae7f9e4
..
5e1d797
100644
(file)
--- a/
include/linux/vroot.h
+++ b/
include/linux/vroot.h
@@
-5,7
+5,7
@@
* written by Herbert Pötzl, 9/11/2002
* ported to 2.6 by Herbert Pötzl, 30/12/2004
*
* written by Herbert Pötzl, 9/11/2002
* ported to 2.6 by Herbert Pötzl, 30/12/2004
*
- * Copyright (C) 2002-200
5
by Herbert Pötzl.
+ * Copyright (C) 2002-200
7
by Herbert Pötzl.
* Redistribution of this file is permitted under the
* GNU General Public License.
*/
* Redistribution of this file is permitted under the
* GNU General Public License.
*/
@@
-31,6
+31,12
@@
struct vroot_device {
int vr_state;
};
int vr_state;
};
+
+typedef struct block_device *(vroot_grb_func)(struct block_device *);
+
+extern int register_vroot_grb(vroot_grb_func *);
+extern int unregister_vroot_grb(vroot_grb_func *);
+
#endif /* __KERNEL__ */
#define MAX_VROOT_DEFAULT 8
#endif /* __KERNEL__ */
#define MAX_VROOT_DEFAULT 8