static int __init fid_mod_init(void) { seq_type_proc_dir = lprocfs_register(LUSTRE_SEQ_NAME, proc_lustre_root, NULL, NULL); if (IS_ERR(seq_type_proc_dir)) return PTR_ERR(seq_type_proc_dir); LU_CONTEXT_KEY_INIT(&seq_thread_key); lu_context_key_register(&seq_thread_key); return 0; }
int fld_server_mod_init(void) { LU_CONTEXT_KEY_INIT(&fld_thread_key); return lu_context_key_register(&fld_thread_key); }
int lu_ucred_global_init(void) { LU_CONTEXT_KEY_INIT(&lu_ucred_key); return lu_context_key_register(&lu_ucred_key); }