X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fvroot.h;h=4eb6d0d9493038523669935958415a2bb5fa34a6;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=ae7f9e4ef3d06ae1c746dafe7382006da194073e;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/include/linux/vroot.h b/include/linux/vroot.h index ae7f9e4ef..4eb6d0d94 100644 --- a/include/linux/vroot.h +++ b/include/linux/vroot.h @@ -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