proc: warn on non-existing proc entries
authorAlexey Dobriyan <[email protected]>
Fri, 5 Mar 2010 21:44:00 +0000 (13:44 -0800)
committerLinus Torvalds <[email protected]>
Sat, 6 Mar 2010 19:26:45 +0000 (11:26 -0800)
commit12bac0d9f4dbf3445a0319beee848d15fa32775e
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 <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/proc/generic.c