I made it continue with cleanup instead of aborting
GOTO(out, err=-EBUSY);
}
- if(lprocfs_dereg_dev(obd)!=LPROCFS_SUCCESS){
- CERROR("Could not remove Proc Entry\n");
- GOTO(out, err=-ENODEV);
-
+ if (lprocfs_dereg_dev(obd) != LPROCFS_SUCCESS) {
+ CERROR("Could not remove /proc entry\n");
}
if (obd->obd_name) {
OBD_FREE(obd->obd_name, strlen(obd->obd_name)+1);
#include <linux/slab.h>
extern struct list_head obd_types;
-extern struct obd_device obd_dev[MAX_OBD_DEVICES];
kmem_cache_t *obdo_cachep = NULL;
kmem_cache_t *export_cachep = NULL;
kmem_cache_t *import_cachep = NULL;