mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ps3vram: Fix error path (return -EIO) for short read/write
Signed-off-by: Geert Uytterhoeven <[email protected]> Cc: Jim Paris <[email protected]> Cc: Jens Axboe <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
This commit is contained in:
parent
7a4a89c389
commit
734957c897
1 changed files with 1 additions and 0 deletions
|
|
@ -585,6 +585,7 @@ static int ps3vram_make_request(struct request_queue *q, struct bio *bio)
|
|||
|
||||
if (retlen != len) {
|
||||
dev_err(&dev->core, "Short %s\n", op);
|
||||
error = -EIO;
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue