[PATCH] pre7-4 rpciod fix

From: Eric Lammerts (eric@scintilla.utwente.nl)
Date: Thu May 04 2000 - 20:57:41 EST


When running 2.3.99pre7-4 nfsroot, readlink() on /proc/5/exe
(rpciod) causes an oops. This is because rpciod is fired up before
the root filesystem is mounted. The patch below fixes it.

Eric

--- linux/net/sunrpc/sched.c.orig Fri May 5 02:39:23 2000
+++ linux/net/sunrpc/sched.c Fri May 5 03:02:04 2000
@@ -1005,6 +1005,7 @@
         rpciod_pid = current->pid;
         up(&rpciod_running);
 
+ exit_fs(current);
         exit_files(current);
         exit_mm(current);
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:16 EST