Whamcloud - gitweb
LU-9859 libcfs: refactor libcfs initialization.
[fs/lustre-release.git] / lustre / lmv / lmv_obd.c
index f295f77..1147316 100644 (file)
@@ -4287,6 +4287,12 @@ static const struct md_ops lmv_md_ops = {
 
 static int __init lmv_init(void)
 {
+       int rc;
+
+       rc  = libcfs_setup();
+       if (rc)
+               return rc;
+
        return class_register_type(&lmv_obd_ops, &lmv_md_ops, true,
                                   LUSTRE_LMV_NAME, NULL);
 }