The patch titled codafs: fix build break when CONFIG_PROC_SYSCTL=n has been added to the -mm tree. Its filename is codafs-fix-build-break-when-config_proc_sysctl=n.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: codafs: fix build break when CONFIG_PROC_SYSCTL=n From: Rakib Mullick <rakib.mullick@xxxxxxxxx> Commit 0bc825d240ab (codafs: fix compile warning when CONFIG_SYSCTL=n), introduces build breakage, when CONFIG_PROC_SYSCTL=n and CONFIG_CODA_FS=y. This patch fixes it. fs/built-in.o: In function `init_coda': psdev.c:(.init.text+0xc02): undefined reference to `coda_sysctl_init' psdev.c:(.init.text+0xc7c): undefined reference to `coda_sysctl_clean' fs/built-in.o: In function `exit_coda': psdev.c:(.exit.text+0xa9): undefined reference to `coda_sysctl_clean' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Rakib Mullick <rakib.mullick@xxxxxxxxx> Reported-by: Ingo Molnar <mingo@xxxxxxx> Acked-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/coda/sysctl.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff -puN fs/coda/sysctl.c~codafs-fix-build-break-when-config_proc_sysctl=n fs/coda/sysctl.c --- a/fs/coda/sysctl.c~codafs-fix-build-break-when-config_proc_sysctl=n +++ a/fs/coda/sysctl.c @@ -61,4 +61,13 @@ void coda_sysctl_clean(void) fs_table_header = NULL; } } + +#else +void coda_sysctl_init(void) +{ +} + +void coda_sysctl_clean(void) +{ +} #endif _ Patches currently in -mm which might be from rakib.mullick@xxxxxxxxx are origin.patch linux-next.patch codafs-fix-build-break-when-config_proc_sysctl=n.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html