Re: Linux 2.2.20pre10

Andreas Haumer (
Wed, 12 Sep 2001 10:21:46 +0200


Alan Cox wrote:
> If you know any reason this should not be 2.2.20 final now is a very very
> good time to say. I intend to call this patch 2.2.20 in a week or so barring
> any last minute problems. Please save anything but actual bugfixes for
> 2.2.21.
I did a short check through the pre10 patch but couldn't find my small
patch to linux/net/sunrpc/sched.c I sent you back in August.

This patch fixes (at least for us) the problem where rpciod still
keeps references into the root fs even after it was daemonized.

I didn't get any reaction after posting this patch, neither
positive nor negative.

In case you don't remember here's the patch again:

andreas@ws1:~/cvsdir {625} % cvs diff -C5 -rR_2-2-19~11 -rR_2-2-19~12
Index: linux/net/sunrpc/sched.c
RCS file:
retrieving revision
retrieving revision 1.12
diff -C5 -r1.1.1.6 -r1.12
*** linux/net/sunrpc/sched.c 2001/03/25 16:37:42
--- linux/net/sunrpc/sched.c 2001/08/17 11:53:48 1.12
*** 1066,1075 ****
--- 1066,1076 ----
rpciod_pid = current->pid;

+ exit_fs(current);

siginitsetinv(&current->blocked, sigmask(SIGKILL));

Is there any reason for not including this in 2.2.20?
It helps us getting rid of the initial ramdisk rootfs
on our diskless clients...


- andreas

Andreas Haumer                     |
*x Software + Systeme              |
Karmarschgasse 51/2/20             | Tel: +43-1-6060114-0
A-1100 Vienna, Austria             | Fax: +43-1-6060114-71
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at