Brian Norris 299d0c5b27 UBI: fix check for "too many bytes"
The comparison from the previous line seems to have been erroneously
(partially) copied-and-pasted onto the next. The second line should be
checking req.bytes, not req.lnum.

Coverity CID #139400

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
[rw: Fixed comparison]
Signed-off-by: Richard Weinberger <richard@nod.at>
2015-03-26 12:07:18 +01:00
..
2015-03-26 12:07:18 +01:00
2015-03-26 12:07:17 +01:00
2015-01-28 16:09:17 +01:00
2014-11-07 15:14:09 +02:00
2015-03-26 12:07:18 +01:00