mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-02 00:00:41 +02:00
We should not report incomplete blocks on error. Return the number of bytes successfully transferred, rounded down to the nearest block. Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>