commit | 240124cf7bba64f4c71943c49046f99978e10ca0 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Mon Aug 14 21:02:08 2017 -0400 |
committer | Tom Rini <trini@konsulko.com> | Sun Aug 20 09:54:31 2017 -0400 |
tree | e04b67e130a8ae9e974770e9ef166d8f26d94403 | |
parent | 195bc4bc6b393647bf002df0096abf995e94e89e [diff] |
fs/fat: Correct blk_dread() return value check 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>