static int __init init_lquota(void)
{
- int rc;
-
- /* call old quota module init function */
- rc = init_lustre_quota();
- if (rc)
- return rc;
-
/* new quota initialization */
lquota_key_init_generic(&lquota_thread_key, NULL);
lu_context_key_register(&lquota_thread_key);
static void exit_lquota(void)
{
- /* call old quota module exit function */
- exit_lustre_quota();
-
lu_context_key_degister(&lquota_thread_key);
}