summaryrefslogtreecommitdiffstats
path: root/fs/coda/Makefile
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2019-07-16 16:29:03 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-16 19:23:23 -0700
commit6975259ae30e05068e87ab35dfc4caefb47cffe2 (patch)
treef2ed7253d49baddaca4feae0ca907d37a1366d16 /fs/coda/Makefile
parentf94845284abedf80b8d9ab37eafe0d8f737543e8 (diff)
downloadlinux-stable-6975259ae30e05068e87ab35dfc4caefb47cffe2.tar.gz
linux-stable-6975259ae30e05068e87ab35dfc4caefb47cffe2.tar.bz2
linux-stable-6975259ae30e05068e87ab35dfc4caefb47cffe2.zip
coda: remove sysctl object from module when unused
Inspired by NFS sysctl process Link: http://lkml.kernel.org/r/9afcc2cd09490849b309786bbf47fef75de7f91c.1558117389.git.jaharkes@cs.cmu.edu Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Colin Ian King <colin.king@canonical.com> Cc: Dan Carpenter <dan.carpenter@oracle.com> Cc: David Howells <dhowells@redhat.com> Cc: Mikko Rapeli <mikko.rapeli@iki.fi> Cc: Sam Protsenko <semen.protsenko@linaro.org> Cc: Yann Droneaud <ydroneaud@opteya.com> Cc: Zhouyang Jia <jiazhouyang09@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/coda/Makefile')
-rw-r--r--fs/coda/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/coda/Makefile b/fs/coda/Makefile
index 1ce66819da2a..78befb8369c9 100644
--- a/fs/coda/Makefile
+++ b/fs/coda/Makefile
@@ -6,7 +6,8 @@
obj-$(CONFIG_CODA_FS) += coda.o
coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
- coda_linux.o symlink.o pioctl.o sysctl.o
+ coda_linux.o symlink.o pioctl.o
+coda-$(CONFIG_SYSCTL) += sysctl.o
# If you want debugging output, please uncomment the following line.