patch-2.3.22 linux/fs/proc/root.c

Next file: linux/fs/smbfs/cache.c
Previous file: linux/fs/proc/proc_devtree.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.21/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -898,6 +898,8 @@
 		}
 		pid *= 10;
 		pid += c;
+		if (!pid)
+			break;
 		if (pid & 0xffff0000) {
 			pid = 0;
 			break;

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