summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-04-17 00:15:27 +0200
committerDave Chinner <david@fromorbit.com>2014-04-17 00:15:27 +0200
commit07d5035a289f8bebe0ea86c293b2d5412478c481 (patch)
tree86af0bf1ad0fe31ab0c8f87b0bb66e45a6099962 /fs/xfs/xfs_dir2.c
parentxfs: unmount does not wait for shutdown during unmount (diff)
downloadlinux-07d5035a289f8bebe0ea86c293b2d5412478c481.tar.xz
linux-07d5035a289f8bebe0ea86c293b2d5412478c481.zip
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>
Diffstat (limited to 'fs/xfs/xfs_dir2.c')
0 files changed, 0 insertions, 0 deletions