public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH for v3.15 0/2] UBI: block: Support very large volumes
@ 2014-04-17 13:23 Ezequiel Garcia
  2014-04-17 13:23 ` [PATCH 1/2] UBI: block: Set disk_capacity out of the mutex Ezequiel Garcia
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ezequiel Garcia @ 2014-04-17 13:23 UTC (permalink / raw)
  To: Artem Bityutskiy, linux-mtd; +Cc: Richard Weinberger, Ezequiel Garcia

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(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-05-05  9:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-17 13:23 [PATCH for v3.15 0/2] UBI: block: Support very large volumes Ezequiel Garcia
2014-04-17 13:23 ` [PATCH 1/2] UBI: block: Set disk_capacity out of the mutex Ezequiel Garcia
2014-04-17 13:23 ` [PATCH 2/2] UBI: block: Avoid disk size integer overflow Ezequiel Garcia
2014-04-23 23:59 ` [PATCH for v3.15 0/2] UBI: block: Support very large volumes Ezequiel Garcia
2014-05-05  6:36   ` Artem Bityutskiy
2014-05-05  7:23     ` Artem Bityutskiy
2014-05-05  9:24       ` Ezequiel Garcia
2014-05-05  9:46       ` Ezequiel Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox