[PATCH] xfs: wrong error sign conversion during failed DIO writes
Christoph Hellwig
hch at infradead.org
Fri Apr 11 02:39:39 CDT 2014
On Fri, Apr 11, 2014 at 02:46:15PM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
>
> We negate the error value being returned from a generic function
> incorrectly. The code path that it is running in returned negative
> errors, so there is no need to negate it to get the correct error
> signs here.
>
> This was uncovered by generic/019.
Looks good,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the xfs
mailing list