The patch titled dlm & gfs2: use sysfs has been added to the -mm tree. Its filename is dlm-gfs2-use-sysfs.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: dlm & gfs2: use sysfs From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> With CONFIG_DLM=m, CONFIG_PROC_FS=n, and CONFIG_SYSFS=n, kernel build fails with: WARNING: "kernel_subsys" [fs/gfs2/locking/dlm/lock_dlm.ko] undefined! WARNING: "kernel_subsys" [fs/dlm/dlm.ko] undefined! WARNING: "kernel_subsys" [fs/configfs/configfs.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 Since fs/dlm/lockspace.c and fs/gfs2/locking/dlm/sysfs.c use kernel_subsys, they should either DEPEND on it or SELECT it. Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Cc: Steven Whitehouse <swhiteho@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/dlm/Kconfig | 1 + fs/gfs2/Kconfig | 1 + 2 files changed, 2 insertions(+) diff -puN fs/dlm/Kconfig~dlm-gfs2-use-sysfs fs/dlm/Kconfig --- a/fs/dlm/Kconfig~dlm-gfs2-use-sysfs +++ a/fs/dlm/Kconfig @@ -5,6 +5,7 @@ config DLM tristate "Distributed Lock Manager (DLM)" depends on IPV6 || IPV6=n select CONFIGFS_FS + select SYSFS select IP_SCTP if DLM_SCTP help A general purpose distributed lock manager for kernel or userspace diff -puN fs/gfs2/Kconfig~dlm-gfs2-use-sysfs fs/gfs2/Kconfig --- a/fs/gfs2/Kconfig~dlm-gfs2-use-sysfs +++ a/fs/gfs2/Kconfig @@ -38,6 +38,7 @@ config GFS2_FS_LOCKING_DLM select IP_SCTP if DLM_SCTP select CONFIGFS_FS select DLM + select SYSFS help Multiple node locking module for GFS2 _ Patches currently in -mm which might be from randy.dunlap@xxxxxxxxxx are origin.patch fix-various-kernel-doc-in-header-files.patch git-alsa.patch qconf-immediately-update-integer-and-string-values-in-xconfig-display-take-2.patch dlm-gfs2-use-sysfs.patch parisc-fix-module_param-iommu-permission.patch git-scsi-misc.patch math-emu-setcc-avoid-gcc-extension.patch docbook-html-correction-of-recursive-a-tags-in-html-output.patch kernel-doc-allow-a-little-whitespace.patch sysrq-showblockedtasks-is-sysrq-w.patch sysrq-alphabetize-command-keys-doc.patch kernel-doc-allow-more-whitespace.patch discuss-a-couple-common-errors-in-kernel-doc-usage.patch docbook-add-edd-firmware-interfaces.patch kernel-doc-fix-some-odd-spacing-issues.patch extend-notifier_call_chain-to-count-nr_calls-made-fixes.patch reiser4-use-null-for-pointers.patch profile_likely-export-do_check_likely.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