Re: [PATCH] fs/adfs: bigdir: Fix an error code in adfs_fplus_read()

From: Al Viro
Date: Sat Jan 25 2020 - 11:33:05 EST


On Sat, Jan 25, 2020 at 09:29:30AM +0000, Russell King - ARM Linux admin wrote:
> On Fri, Jan 24, 2020 at 01:15:37PM +0300, Dan Carpenter wrote:
> > This code accidentally returns success, but it should return the
> > -EIO error code from adfs_fplus_validate_header().
> >
> > Fixes: d79288b4f61b ("fs/adfs: bigdir: calculate and validate directory checkbyte")
> > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>
> Good catch.
>
> Acked-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxx>
>
> Al, please apply, thanks.

Applied and pushed out.