fscache: fix build on !CONFIG_SYSCTL
authorTejun Heo <tj@kernel.org>
Sat, 24 Jul 2010 09:10:09 +0000 (11:10 +0200)
committerTejun Heo <tj@kernel.org>
Sat, 24 Jul 2010 09:10:09 +0000 (11:10 +0200)
Commit 8b8edefa (fscache: convert object to use workqueue instead of
slow-work) made fscache_exit() call unregister_sysctl_table()
unconditionally breaking build when sysctl is disabled.  Fix it by
putting it inside CONFIG_SYSCTL.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: David Howells <dhowells@redhat.com>

No differences found