]> err.no Git - linux-2.6/commit
9p: Don't use binary sysctl numbers.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 21 Jul 2007 18:53:19 +0000 (12:53 -0600)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 19:43:28 +0000 (12:43 -0700)
commitb053c204edbc82b068fe8cfc809b7f90b885fae0
tree49a7d16c97800fda11801c171c6ba5f36db09b1f
parentf56d35e7aa78ac56a93ff43da90e8d90a37a1362
9p: Don't use binary sysctl numbers.

The recent 9p commit: bd238fb431f31989898423c8b6496bc8c4204a86 that
supposedly only moved files also introduced a new 9p sysctl interface
that did not properly register it's sysctl binary numbers.

And since it was only for debugging clearly did not need a binary fast
path in any case.  So this patch just remove the binary numbers.

See Documentation/sysctl/ctl_unnumbered.txt for more details.

While I was at it I cleaned up the sysctl initializers a little as
well so there is less to read.

Cc: Latchesar Ionkov <lucho@ionkov.net>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/9p/sysctl.c