diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-05-15 03:21:11 +0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-05-15 03:21:11 +0400 |
commit | 43ec1460a2189fbee87980dd3d3e64cba2f11e1f (patch) | |
tree | 79f2b9c4bddde5a0ea190fee1932cd2db40489ce /fs/xfs/xfs_file.c | |
parent | d6d211db37e75de2ddc3a4f979038c40df7cc79c (diff) | |
download | linux-43ec1460a2189fbee87980dd3d3e64cba2f11e1f.tar.xz |
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>
Diffstat (limited to 'fs/xfs/xfs_file.c')
-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 951a2321ee01..f499e47d44d8 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 |