commit | 40f2b6ffe525e975203c1621d4d4abaa7689b674 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sat Jul 24 11:10:09 2010 +0200 |
committer | Tejun Heo <tj@kernel.org> | Sat Jul 24 11:10:09 2010 +0200 |
tree | bb6052496a824e0ee3d1725465871819caf704cb | |
parent | 181a51f6e040d0ac006d6adaf4a031ffa440f41c [diff] |
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>