]> git.baikalelectronics.ru Git - kernel.git/commit
proc: warn on non-existing proc entries
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 5 Mar 2010 21:44:00 +0000 (13:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:45 +0000 (11:26 -0800)
commit17d731d356b160917014b51e84438fbbfc87f7f3
tree4b712e05e785c010a31d12bb4a1f662173b9fcee
parenta37eddeafdcd78f776f211f13a762a67aa8df87a
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