staging/lustre: disable virtual block device for 64K pages
authorArnd Bergmann <arnd@arndb.de>
Fri, 20 Jun 2014 12:23:28 +0000 (14:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 15:30:11 +0000 (08:30 -0700)
The lustre virtual block device cannot handle 64K pages and fails at compile
time. To avoid running into this error, let's disable the Kconfig option
for this driver in cases it doesn't support.

Reported-by: Dann Frazier <dann.frazier@canonical.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/Kconfig

index 209e4c7e6f8a8a8fd3da342f0609be6fc166fae9..4f65ba1158bff7980e5ccccd7d5477eac7214638 100644 (file)
@@ -57,4 +57,5 @@ config LUSTRE_TRANSLATE_ERRNOS
 config LUSTRE_LLITE_LLOOP
        tristate "Lustre virtual block device"
        depends on LUSTRE_FS && BLOCK
+       depends on !PPC_64K_PAGES && !ARM64_64K_PAGES
        default m