From: Tejun Heo Date: Sat, 24 Jul 2010 09:10:09 +0000 (+0200) Subject: fscache: fix build on !CONFIG_SYSCTL X-Git-Tag: v2.6.36-rc1~506^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40f2b6ffe525e975203c1621d4d4abaa7689b674;p=pandora-kernel.git 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 Reported-by: Randy Dunlap Cc: David Howells --- Reading git-diff-tree failed