fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / linux / vroot.h
index ae7f9e4..5e1d797 100644 (file)
@@ -5,7 +5,7 @@
  * written by Herbert Pötzl, 9/11/2002
  * ported to 2.6 by Herbert Pötzl, 30/12/2004
  *
- * Copyright (C) 2002-2005 by Herbert Pötzl.
+ * Copyright (C) 2002-2007 by Herbert Pötzl.
  * Redistribution of this file is permitted under the
  * GNU General Public License.
  */
@@ -31,6 +31,12 @@ struct vroot_device {
        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