Skip to content
Commit 8a9d6e96 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Anna Schumaker
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 5c83746a ("pnfs/blocklayout: in-kernel GETDEVICEINFO XDR parsing")
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent c0ca0e59
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment