};
#endif
+extern int capa_cache_init(void);
+extern void capa_cache_cleanup(void);
+
#ifdef __KERNEL__
static int __init init_obdclass(void)
#else
if (err)
return err;
+ err = capa_cache_init();
+ if (err)
+ return err;
+
#ifdef __KERNEL__
obd_sysctl_init();
#endif
}
}
+ capa_cache_cleanup();
obd_cleanup_caches();
obd_sysctl_clean();
#ifdef LPROCFS