Re: [PATCH] jffs2:Fix error paths return value for the function read_unknown
From: Richard Weinberger
Date: Wed Jul 08 2015 - 17:20:25 EST
On Wed, Jul 8, 2015 at 10:59 PM, Nicholas Krause <xerofoify@xxxxxxxxx> wrote:
> This fixes the error paths in the function read_unknown that return
> a value to correctly return -EIO rather then the kernel value for
> successful function execution of zero to indicate to this function's
> callers that a failure has occurred related to I/O and needs to be
> handled by this function's caller.
Did you test this patch?
I guess not.
--
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/