Whamcloud - gitweb
LU-2272 statahead: ll_intent_drop_lock() called in spinlock
[fs/lustre-release.git] / lustre / mdt / mdt_mds.c
index 1c0677a..cb28d88 100644 (file)
@@ -138,7 +138,7 @@ static int mds_start_ptlrpc_service(struct mds_device *m)
 {
        static struct ptlrpc_service_conf conf;
        struct obd_device *obd = m->mds_md_dev.md_lu_dev.ld_obd;
-       cfs_proc_dir_entry_t *procfs_entry;
+       struct proc_dir_entry *procfs_entry;
        int rc = 0;
        ENTRY;
 
@@ -548,9 +548,6 @@ int mds_mod_init(void)
        }
 
        return class_register_type(&mds_obd_device_ops, NULL, true, NULL,
-#ifndef HAVE_ONLY_PROCFS_SEQ
-                                  NULL,
-#endif
                                   LUSTRE_MDS_NAME, &mds_device_type);
 }