The function blk_dread will return -ENOSYS on failure or on success the number of blocks read, which must be the number asked to read (otherwise it failed somewhere). Correct this check. Signed-off-by: Tom Rini <trini@konsulko.com>master
parent
9585dd3fff
commit
42a9f147d8
Loading…
Reference in new issue