diff options
author | Christoph Hellwig <hch@tuxera.com> | 2011-02-16 09:34:17 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2011-06-30 13:40:58 +0200 |
commit | bf1a1b31fa3ea24e3a90821d69a5c3da066f7d6c (patch) | |
tree | 32a751e5c58854fbb5aff9797fe73f6122e0b3ed /samples | |
parent | 2b4f9ca8a575ce6d7ddb59d668e2be250bf86a8f (diff) | |
download | op-kernel-dev-bf1a1b31fa3ea24e3a90821d69a5c3da066f7d6c.zip op-kernel-dev-bf1a1b31fa3ea24e3a90821d69a5c3da066f7d6c.tar.gz |
hfsplus: fix overflow in hfsplus_get_block
For filesystems larger than 2TB the final sector number passed to
map_bh might overflow the range representable in a 32-bit data type.
Make sure we use a sector_t for it and the arithmetics calculating it.
Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions