xfs: xfs_dir_fsync() returns positive errno
authorDave Chinner <dchinner@redhat.com>
Wed, 14 May 2014 23:21:11 +0000 (09:21 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 14 May 2014 23:21:11 +0000 (09:21 +1000)
commit43ec1460a2189fbee87980dd3d3e64cba2f11e1f
tree79f2b9c4bddde5a0ea190fee1932cd2db40489ce
parentd6d211db37e75de2ddc3a4f979038c40df7cc79c
xfs: xfs_dir_fsync() returns positive errno

And it should be negative.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_file.c