proc: warn on non-existing proc entries
commit12bac0d9f4dbf3445a0319beee848d15fa32775e
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 5 Mar 2010 21:44:00 +0000 (5 13:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:45 +0000 (6 11:26 -0800)
tree4b712e05e785c010a31d12bb4a1f662173b9fcee
parente17a5765f20d1219c3f05eb17aab11671978e0ec
proc: warn on non-existing proc entries

* warn if creation goes on to non-existent directory
* warn if removal goes on from non-existing directory
* warn if non-existing proc entry is removed

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/generic.c