[PATCH] sysctl: create sys/fs/binfmt_misc as an ordinary sysctl entry
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 14 Feb 2007 08:34:07 +0000 (00:34 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:59 +0000 (08:09 -0800)
commit2abc26fc6b6f60fc70d6957b842ef4e5f805df7b
tree017fc02dbd50a401970f6b92224be177a85cda43
parenta5494dcd8b92dce64317f2f7dd0d62747c54980b
[PATCH] sysctl: create sys/fs/binfmt_misc as an ordinary sysctl entry

binfmt_misc has a mount point in the middle of the sysctl and that mount point
is created as a proc_generic directory.

Doing it that way gets in the way of cleaning up the sysctl proc support as it
continues the existence of a horrible hack.  So instead simply create the
directory as an ordinary sysctl directory.  At least that removes the magic
special case.

[akpm@osdl.org: warning fix]
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/root.c
kernel/sysctl.c