OSDN Git Service

staging: exfat: make exfat depend on BLOCK
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Sep 2019 17:45:06 +0000 (19:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Sep 2019 18:13:50 +0000 (20:13 +0200)
This should fix a build error in some configurations when CONFIG_BLOCK
is not selected.  Also properly set the dependancy for no FAT support at
the same time.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Link: https://lore.kernel.org/r/20190902174631.GB31445@kroah.com
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/exfat/Kconfig

index f52129c..290dbfc 100644 (file)
@@ -1,11 +1,13 @@
 config EXFAT_FS
        tristate "exFAT fs support"
+       depends on BLOCK
        select NLS
        help
          This adds support for the exFAT file system.
 
 config EXFAT_DONT_MOUNT_VFAT
        bool "Prohibit mounting of fat/vfat filesysems by exFAT"
+       depends on EXFAT_FS
        default y
        help
          By default, the exFAT driver will only mount exFAT filesystems, and refuse