proc: fix proc_kill_inodes to kill dentries on all proc superblocks
commite1a1c997afe907e6ec4799e4be0f38cffd8b418c
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 15 Nov 2007 00:59:08 +0000 (14 16:59 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:38 +0000 (14 18:45 -0800)
tree3c1154a95c0a44a1015f3bfeb7e73d19024924cb
parent7105458563213b6f6fb523065474cfe1d6c22a67
proc: fix proc_kill_inodes to kill dentries on all proc superblocks

It appears we overlooked support for removing generic proc files
when we added support for multiple proc super blocks.  Handle
that now.

[akpm@linux-foundation.org: coding-style cleanups]
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Alexey Dobriyan <adobriyan@sw.ru>
Acked-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/generic.c
fs/proc/internal.h
fs/proc/root.c