From 15d696e6090e6ac53fc2068404aa67e64fda7ae4 Mon Sep 17 00:00:00 2001 From: thantry Date: Thu, 3 Oct 2002 22:25:54 +0000 Subject: [PATCH] Added more debug to LProc cleanup --- lustre/obdclass/lprocfs.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lustre/obdclass/lprocfs.c b/lustre/obdclass/lprocfs.c index 4fcdeb6..0dd7e67 100644 --- a/lustre/obdclass/lprocfs.c +++ b/lustre/obdclass/lprocfs.c @@ -793,6 +793,8 @@ int lprocfs_get_nm(char* name, lprocfs_obd_nm_t* collection) int lprocfs_dereg_dev(struct obd_device* device) { struct proc_dir_entry* temp; + CDEBUG(D_OTHER, "LPROCFS removing device = %s\n", \ + device->obd_name); if (!device) { CDEBUG(D_OTHER, "! LProcfs: Null pointer !\n"); @@ -804,8 +806,6 @@ int lprocfs_dereg_dev(struct obd_device* device) return LPROCFS_FAILURE; } - CDEBUG(D_OTHER, "SEARCH: Device = %s\n", device->obd_name); - temp = lprocfs_bfs_srch(proc_lustre_dev_root->subdir, \ device->obd_name); if (temp == 0) { @@ -821,6 +821,8 @@ int lprocfs_dereg_dev(struct obd_device* device) if (device->counters) OBD_FREE(device->counters, device->cntr_mem_size); + CDEBUG(D_OTHER, "LPROCFS removed device = %s\n", \ + device->obd_name); return LPROCFS_SUCCESS; } -- 1.8.3.1