|
@@ -1190,7 +1190,7 @@ int lprocfs_wr_evict_client(struct file *file, const char *buffer,
|
|
|
* the proc entries under the being destroyed export{}, so I have
|
|
|
* to drop the lock at first here.
|
|
|
* - jay, jxiong@clusterfs.com */
|
|
|
- class_incref(obd, __FUNCTION__, current);
|
|
|
+ class_incref(obd, __func__, current);
|
|
|
|
|
|
if (strncmp(tmpbuf, "nid:", 4) == 0)
|
|
|
obd_export_evict_by_nid(obd, tmpbuf + 4);
|
|
@@ -1199,7 +1199,7 @@ int lprocfs_wr_evict_client(struct file *file, const char *buffer,
|
|
|
else
|
|
|
obd_export_evict_by_uuid(obd, tmpbuf);
|
|
|
|
|
|
- class_decref(obd, __FUNCTION__, current);
|
|
|
+ class_decref(obd, __func__, current);
|
|
|
|
|
|
out:
|
|
|
OBD_FREE(kbuf, BUFLEN);
|