[PATCH for v3.15 0/2] UBI: block: Support very large volumes
Ezequiel Garcia
ezequiel.garcia at free-electrons.com
Wed Apr 23 16:59:11 PDT 2014
Artem,
On Apr 17, Ezequiel Garcia wrote:
> This is a re-spin of Richard's work [1]. I've added a patch for some minor
> clean-up, so the large volume fix is a less intrusive one.
>
> The proposed returned value E2BIG has been changed for EFBIG, which results
> in a slightly more accurate error. Also, the user messages have been removed
> entirely; returning an error seems enough.
>
> This bug was reported on #mtd IRC. I don't have to reporter name to give proper
> credit. It should be applied as a fix for v3.15.
>
> Richard: Thanks a lot for hunting this down, and feel free to disagree about
> my changes.
>
> [1] https://lkml.org/lkml/2014/3/19/333
>
> Ezequiel Garcia (1):
> UBI: block: Set disk_capacity out of the mutex
>
> Richard Weinberger (1):
> UBI: block: Avoid disk size integer overflow
>
> drivers/mtd/ubi/block.c | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
Do you think you can pick this for v3.15-rc3?
Thanks!
--
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com
More information about the linux-mtd
mailing list