commit | 07d5035a289f8bebe0ea86c293b2d5412478c481 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Thu Apr 17 08:15:27 2014 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Thu Apr 17 08:15:27 2014 +1000 |
tree | 86af0bf1ad0fe31ab0c8f87b0bb66e45a6099962 | |
parent | 9c23eccc1e746f64b18fab070a37189b4422e44a [diff] |
xfs: wrong error sign conversion during failed DIO writes 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. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>