ps3vram: Fix error path (return -EIO) for short read/write
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Wed, 10 Jun 2009 04:38:37 +0000 (04:38 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 15 Jun 2009 03:26:17 +0000 (13:26 +1000)
commit734957c89794971c874f9d3ccd9eb49dc3325f65
tree3beb7d7bb3b2f70fb44ecc1fc80b794f3b57f58a
parent7a4a89c38960591fa6555d287f793bd592c07ebd
ps3vram: Fix error path (return -EIO) for short read/write

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Jim Paris <jim@jtan.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/block/ps3vram.c