forgotten refcount on sysctl root table
authorAl Viro <viro@ZenIV.linux.org.uk>
Thu, 4 Sep 2008 16:05:57 +0000 (17:05 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Sep 2008 18:06:21 +0000 (11:06 -0700)
commitb380b0d4f7dffcc235c0facefa537d4655619101
treefdc1785d6136ee64659065fed558efef2c41e822
parent5f17cfce5776c566d64430f543a289e5cfa4538b
forgotten refcount on sysctl root table

We should've set refcount on the root sysctl table; otherwise we'll blow
up the first time we get down to zero dynamically registered sysctl
tables.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Tested-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sysctl.c