Skip to content
  • Randy Dunlap's avatar
    [GFS2/DLM] use sysfs · 67f55897
    Randy Dunlap authored
    
    
    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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    67f55897