commit | 299d0c5b27346a77a0777c993372bf8777d4f2e5 | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Sat Feb 28 02:23:28 2015 -0800 |
committer | Richard Weinberger <richard@nod.at> | Thu Mar 26 12:07:18 2015 +0100 |
tree | aa5dff687c0e59fab18acb493c3350559aebb733 | |
parent | f16db8071ce18819fbd705ddcc91c6f392fb61f8 [diff] |
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>