patch-2.4.10 linux/fs/lockd/clntlock.c

Next file: linux/fs/lockd/clntproc.c
Previous file: linux/fs/jffs2/zlib.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/fs/lockd/clntlock.c linux/fs/lockd/clntlock.c
@@ -164,6 +164,11 @@
 	struct nlm_wait	  *block;
 	struct list_head *tmp;
 
+	reparent_to_init();
+	snprintf(current->comm, sizeof(current->comm),
+		 "%s-reclaim",
+		 host->h_name);
+	
 	/* This one ensures that our parent doesn't terminate while the
 	 * reclaim is in progress */
 	lock_kernel();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)