Whamcloud - gitweb
Add lu_ref tracking to obd_device.
[fs/lustre-release.git] / lustre / mds / lproc_mds.c
index 6349be1..cebd82e 100644 (file)
@@ -112,7 +112,7 @@ static int lprocfs_mds_wr_evict_client(struct file *file, const char *buffer,
 
         /* See the comments in function lprocfs_wr_evict_client() 
          * in ptlrpc/lproc_ptlrpc.c for details. - jay */
-        class_incref(obd);
+        class_incref(obd, __FUNCTION__, cfs_current());
         LPROCFS_EXIT();
 
         obd_export_evict_by_nid(obd, tmpbuf+4);
@@ -124,7 +124,7 @@ static int lprocfs_mds_wr_evict_client(struct file *file, const char *buffer,
                        rc);
 
         LPROCFS_ENTRY();
-        class_decref(obd);
+        class_decref(obd,  __FUNCTION__, cfs_current());
 
         ptlrpc_set_destroy(set);
         return count;