]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc70ed9319a966156927ba45dbc9306fb732e7dc7
treefdc1785d6136ee64659065fed558efef2c41e822
parent2f651d3e2f7c902e7e6fc5d02daf4e07c280a837
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