diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-03-05 08:03:53 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-03-05 12:04:57 +0100 |
commit | a3941ec101a5ec54c1e929730afeb196441a171e (patch) | |
tree | f714362623fb68f2e8e462be854f0feff88b63f1 /block/blk-merge.c | |
parent | cciss: remove 30 second initial timeout on controller reset (diff) | |
download | linux-a3941ec101a5ec54c1e929730afeb196441a171e.tar.xz linux-a3941ec101a5ec54c1e929730afeb196441a171e.zip |
loop: don't increment p->offset with (size_t) -EINVAL
Upon a 'transfer error block' size is set to -EINVAL, but this becomes positive
since size is unsigned: p->offset still gets incremented.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions