proc: more debugging for "already registered" case
authorAlexey Dobriyan <adobriyan@gmail.com>
Sat, 13 Sep 2008 09:33:06 +0000 (02:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Sep 2008 21:41:50 +0000 (14:41 -0700)
commit665020c35e89a9e0643e21561e4f8f967f4f2c4b
tree23bb7ce5516918da4732e8b9b20d07d93de96a7a
parenta551b98d5f6fce5897d497abd8bfb262efb33d2a
proc: more debugging for "already registered" case

Print parent directory name as well.

The aim is to catch non-creation of parent directory when proc_mkdir will
return NULL and all subsequent registrations go directly in /proc instead
of intended directory.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
[ Fixed insane printk string while at it.  - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/generic.c