summaryrefslogtreecommitdiffstats
path: root/fs/nfs/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-08-05 10:59:14 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-08-11 20:10:13 +0200
commit8a9d6e964d318533ba3d2901ce153ba317c99a89 (patch)
tree5dbc7da89d16afa31137f580bb5d48d280538466 /fs/nfs/Kconfig
parentNFSv4: Ignore NFS4ERR_OLD_STATEID in nfs41_check_open_stateid() (diff)
downloadlinux-8a9d6e964d318533ba3d2901ce153ba317c99a89.tar.xz
linux-8a9d6e964d318533ba3d2901ce153ba317c99a89.zip
pnfs/blocklayout: require 64-bit sector_t
The blocklayout code does not compile cleanly for a 32-bit sector_t, and also has no reliable checks for devices sizes, which makes it unsafe to use with a kernel that doesn't support large block devices. Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Arnd Bergmann <arnd@arndb.de> Fixes: 5c83746a0cf2 ("pnfs/blocklayout: in-kernel GETDEVICEINFO XDR parsing") Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/Kconfig')
-rw-r--r--fs/nfs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig
index 69d02cf8cf37..5f93cfacb3d1 100644
--- a/fs/nfs/Kconfig
+++ b/fs/nfs/Kconfig
@@ -121,6 +121,7 @@ config PNFS_FILE_LAYOUT
config PNFS_BLOCK
tristate
depends on NFS_V4_1 && BLK_DEV_DM
+ depends on 64BIT || LBDAF
default NFS_V4
config PNFS_FLEXFILE_LAYOUT