Ejemplo n.º 1
0
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;
}
Ejemplo n.º 2
0
int fld_server_mod_init(void)
{
	LU_CONTEXT_KEY_INIT(&fld_thread_key);
	return lu_context_key_register(&fld_thread_key);
}
Ejemplo n.º 3
0
int lu_ucred_global_init(void)
{
	LU_CONTEXT_KEY_INIT(&lu_ucred_key);
	return lu_context_key_register(&lu_ucred_key);
}