X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Fobd_class.h;h=71a16bfc9eda3f4d15952d686180be073cbbdc8d;hp=2b66b1beeb3f0b0ab76d2652816b6e4cd7d735b8;hb=400b0681017091fab9cef9bd00e0f536e1793dcc;hpb=c3b5a88ed42538afd3db8d67cb5171546174eefa diff --git a/lustre/include/linux/obd_class.h b/lustre/include/linux/obd_class.h index 2b66b1b..71a16bf 100644 --- a/lustre/include/linux/obd_class.h +++ b/lustre/include/linux/obd_class.h @@ -41,6 +41,7 @@ #include #include #include +#include #endif @@ -745,12 +746,13 @@ static inline int obdo_cmp_md(struct obdo *dst, struct obdo *src, * // XXX if this were any uglier, I'd get my own show on MTV */ extern int (*ptlrpc_put_connection_superhack)(struct ptlrpc_connection *c); -int class_register_type(struct obd_ops *ops, char *nm); +int class_register_type(struct obd_ops *ops, lprocfs_vars_t* vars, char *nm); int class_unregister_type(char *nm); int class_name2dev(char *name); int class_uuid2dev(char *uuid); struct obd_device *class_uuid2obd(char *uuid); struct obd_export *class_new_export(struct obd_device *obddev); +struct obd_type *class_nm_to_type(char* name); void class_destroy_export(struct obd_export *exp); int class_connect(struct lustre_handle *conn, struct obd_device *obd, obd_uuid_t cluuid);