]> git.hungrycats.org Git - linux/commit
[PATCH] /proc data corruption check
authorAndrew Morton <akpm@osdl.org>
Fri, 12 Mar 2004 00:16:50 +0000 (16:16 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 12 Mar 2004 00:16:50 +0000 (16:16 -0800)
commit08194fb252592bb8e8b5b5557cf7d4fa009a435d
tree7dab56b28341f4722b842d5f2208865f75b3a92b
parent644a73ebc718a500f7f39107ad321de46e407cc2
[PATCH] /proc data corruption check

From: Arjan van de Ven <arjanv@redhat.com>

If someone removes a /proc directory which still has subdirectories it will
lead to very nasty things (dentries remaining on hash chains etc etc etc).
The BUG_ON in the patch below will catch this nasty situation.
fs/proc/generic.c