Subject: afs/fs/cachefs interface.c,1.11,1.12

From: [email-masked]
Date: Mon, 09 Jun 2003 14:52:07 +0100

Update of /home/cvs/afs/fs/cachefs
In directory phoenix.infradead.org:/tmp/cvs-serv10102/fs/cachefs

Modified Files:
	interface.c 
Log Message:
clean up some debugging output

Index: interface.c
===================================================================
RCS file: /home/cvs/afs/fs/cachefs/interface.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- interface.c	9 Jun 2003 13:39:12 -0000	1.11
+++ interface.c	9 Jun 2003 13:52:03 -0000	1.12
@@ -63,13 +63,13 @@
 	struct cachefs_netfs *ptr;
 	int ret;
 
-	kenter("{%s}",netfs->name);
+	_enter("{%s}",netfs->name);
 
 	INIT_LIST_HEAD(&netfs->link);
 
 	netfs->primary_index = kmem_cache_alloc(cachefs_cookie_jar,SLAB_KERNEL);
 	if (!netfs->primary_index) {
-		kleave(" = -ENOMEM");
+		_leave(" = -ENOMEM");
 		return -ENOMEM;
 	}
 
@@ -105,7 +105,7 @@
  error:
 	up_write(&cachefs_addremove_sem);
 
-	kleave(" = %d",ret);
+	_leave(" = %d",ret);
 	return ret;
 } /* end cachefs_register_netfs() */
 
@@ -118,7 +118,7 @@
  */
 void cachefs_unregister_netfs(struct cachefs_netfs *netfs)
 {
-	kenter("{%s.%u}",netfs->name,netfs->version);
+	_enter("{%s.%u}",netfs->name,netfs->version);
 
 	down_write(&cachefs_addremove_sem);
 
@@ -128,7 +128,7 @@
 
 	up_write(&cachefs_addremove_sem);
 
-	kleave("");
+	_leave("");
 } /* end cachefs_unregister_netfs() */
 
 EXPORT_SYMBOL(cachefs_unregister_netfs);
@@ -568,7 +568,7 @@
 
 	*_cookie = NULL;
 
-	kenter("{%s},{%s},%p,",
+	_enter("{%s},{%s},%p,",
 	       iparent ? (char*)iparent->idef->name : "<no-parent>",
 	       idef ? (char*)idef->name : "<file>",
 	       netfs_data);
@@ -576,7 +576,7 @@
 	/* if no parent cookie, then don't create one here either */
 	if (!iparent) {
 		*_cookie = NULL;
-		kleave(" [no parent]");
+		_leave(" [no parent]");
 		return;
 	}
 
@@ -584,7 +584,7 @@
 	cookie = kmem_cache_alloc(cachefs_cookie_jar,SLAB_KERNEL);
 	if (!cookie) {
 		*_cookie = NULL;
-		kleave(" [ENOMEM]");
+		_leave(" [ENOMEM]");
 		return;
 	}
 
@@ -605,7 +605,7 @@
 	down_read(&cachefs_addremove_sem);
 	if (list_empty(&cachefs_cache_list)) {
 		up_read(&cachefs_addremove_sem);
-		kleave(" [no caches]");
+		_leave(" [no caches]");
 		return;
 	}
 
@@ -660,12 +660,12 @@
 {
 	struct cachefs_inode *inode;
 
-	kenter("{%s},%d",
+	_enter("{%s},%d",
 	       cookie && cookie->idef ? (char*)cookie->idef->name : "<file>",
 	       retire);
 
 	if (!cookie) {
-		kleave(" [no cookie]");
+		_leave(" [no cookie]");
 		return;
 	}
 
@@ -713,7 +713,7 @@
 
 	cachefs_cookie_put(cookie);
 
-	kleave("");
+	_leave("");
 } /* end cachefs_relinquish_cookie() */
 
 EXPORT_SYMBOL(cachefs_relinquish_cookie);