X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fvroot.h;h=5e1d79730b89a2909b8fdd3abd312da961852402;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=ae7f9e4ef3d06ae1c746dafe7382006da194073e;hpb=ae17e7656036804d46ec431260821023d4c8cb83;p=linux-2.6.git diff --git a/include/linux/vroot.h b/include/linux/vroot.h index ae7f9e4ef..5e1d79730 100644 --- 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 * - * 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