diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-05-15 09:21:11 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-05-15 09:21:11 +1000 |
commit | 43ec1460a2189fbee87980dd3d3e64cba2f11e1f (patch) | |
tree | 79f2b9c4bddde5a0ea190fee1932cd2db40489ce | |
parent | d6d211db37e75de2ddc3a4f979038c40df7cc79c (diff) | |
download | op-kernel-dev-43ec1460a2189fbee87980dd3d3e64cba2f11e1f.zip op-kernel-dev-43ec1460a2189fbee87980dd3d3e64cba2f11e1f.tar.gz |
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>
-rw-r--r-- | fs/xfs/xfs_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index 951a232..f499e47 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c @@ -155,7 +155,7 @@ xfs_dir_fsync( if (!lsn) return 0; - return _xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL); + return -_xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL); } STATIC int |