]> git.karo-electronics.de Git - karo-tx-linux.git/commit
UBI: block: Avoid disk size integer overflow
authorRichard Weinberger <richard@nod.at>
Mon, 5 May 2014 10:11:54 +0000 (07:11 -0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 28 Jul 2014 15:52:13 +0000 (18:52 +0300)
commit4df38926f337ff4de49a8fb512aa4a55df0c502d
tree9679247b25fbc93fe8a80bad8f3fa2561e21193f
parent0a3d571bb8940a189322cc5f51466bdab044a48b
UBI: block: Avoid disk size integer overflow

This patch fixes the issue that on very large UBI volumes
UBI block does not work correctly.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/block.c