Skip to content
Commit 40f2b6ff authored by Tejun Heo's avatar Tejun Heo
Browse files

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: default avatarTejun Heo <tj@kernel.org>
Reported-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc: David Howells <dhowells@redhat.com>
parent 181a51f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment