Whamcloud - gitweb
Land b_head_interop_disk on HEAD (20081119_1314)
[fs/lustre-release.git] / lustre / fid / fid_handler.c
index 774aacc..2b28571 100644 (file)
@@ -556,6 +556,18 @@ EXPORT_SYMBOL(seq_server_fini);
 
 cfs_proc_dir_entry_t *seq_type_proc_dir = NULL;
 
+static struct lu_local_obj_desc llod_seq_srv = {
+        .llod_name      = LUSTRE_SEQ_SRV_NAME,
+        .llod_oid       = FID_SEQ_SRV_OID,
+        .llod_is_index  = 0,
+};
+
+static struct lu_local_obj_desc llod_seq_ctl = {
+        .llod_name      = LUSTRE_SEQ_CTL_NAME,
+        .llod_oid       = FID_SEQ_CTL_OID,
+        .llod_is_index  = 0,
+};
+
 static int __init fid_mod_init(void)
 {
         seq_type_proc_dir = lprocfs_register(LUSTRE_SEQ_NAME,
@@ -564,6 +576,9 @@ static int __init fid_mod_init(void)
         if (IS_ERR(seq_type_proc_dir))
                 return PTR_ERR(seq_type_proc_dir);
 
+        llo_local_obj_register(&llod_seq_srv);
+        llo_local_obj_register(&llod_seq_ctl);
+
         LU_CONTEXT_KEY_INIT(&seq_thread_key);
         lu_context_key_register(&seq_thread_key);
         return 0;