]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit40f2b6ffe525e975203c1621d4d4abaa7689b674
treebb6052496a824e0ee3d1725465871819caf704cb
parent181a51f6e040d0ac006d6adaf4a031ffa440f41c
fscache: fix build on !CONFIG_SYSCTL

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>
fs/fscache/main.c