]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs/blocklayout: require 64-bit sector_t
authorChristoph Hellwig <hch@lst.de>
Sat, 5 Aug 2017 08:59:14 +0000 (10:59 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 11 Aug 2017 18:10:13 +0000 (14:10 -0400)
commitbfc1ce74ca441f5fb9c598fd124440cfd4386a98
tree5dbc7da89d16afa31137f580bb5d48d280538466
parent72b1a99f44b4e6507ebf83571639075ffde719f1
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: 4c9d64a75baa ("pnfs/blocklayout: in-kernel GETDEVICEINFO XDR parsing")
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/Kconfig