patch-2.1.79 linux/fs/nfs/proc.c

Next file: linux/fs/nfs/write.c
Previous file: linux/fs/nfs/nfsroot.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/fs/nfs/proc.c linux/fs/nfs/proc.c
@@ -45,8 +45,8 @@
 
 /*
  * If NFS_DEBUG is defined, you can toggle NFS debugging by causing
- * a lookup of "xyzzy". Just cd to an NFS-mounted filesystem and type
- * 'ls xyzzy' to turn on debugging.
+ * a lookup of "__xyzzy__". Just cd to an NFS-mounted filesystem and type
+ * 'ls __xyzzy__' to turn on debugging.
  */
 #ifdef NFS_DEBUG
 # define NFSDBG_FACILITY	NFSDBG_PROC
@@ -91,7 +91,7 @@
 
 	dprintk("NFS call  lookup %s\n", name);
 #ifdef RPC_DEBUG
-	if (!strcmp(name, "xyzzy"))
+	if (!strcmp(name, "__xyzzy__"))
 		nfs_debug = ~nfs_debug;
 #endif
 	status = rpc_call(server->client, NFSPROC_LOOKUP, &arg, &res, 0);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov