procfs: don't allow to use proc_create, create_proc_entry, etc. for directories
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 31 Mar 2013 01:20:14 +0000 (21:20 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:13:14 +0000 (14:13 -0400)
commitb6cdc7310338e204224f865918f774eb6db0b75d
tree0525092aeb3cc02dbe67b41444444cfc7cd4449a
parent21ba37c9cf2f2dcadaabd79dff384537124d216c
procfs: don't allow to use proc_create, create_proc_entry, etc. for directories

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/generic.c
fs/proc/inode.c