diff options
| author | Dave Chinner <dchinner@redhat.com> | 2014-05-14 19:21:52 -0400 |
|---|---|---|
| committer | Dave Chinner <david@fromorbit.com> | 2014-05-14 19:21:52 -0400 |
| commit | b38a134b22fbd0bed90f3e079bbf8cb2962a52be (patch) | |
| tree | 60306c08e0a70f76a0dced7f92a6c5c8c0912b74 | |
| parent | 8ff1e6705a4c711247708f23881feea169e6fc3c (diff) | |
xfs: xfs_commit_metadata returns wrong errno
Invert it.
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_export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_export.c b/fs/xfs/xfs_export.c index 1399e187d425..753e467aa1a5 100644 --- a/fs/xfs/xfs_export.c +++ b/fs/xfs/xfs_export.c | |||
| @@ -237,7 +237,7 @@ xfs_fs_nfs_commit_metadata( | |||
| 237 | 237 | ||
| 238 | if (!lsn) | 238 | if (!lsn) |
| 239 | return 0; | 239 | return 0; |
| 240 | return _xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL); | 240 | return -_xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL); |
| 241 | } | 241 | } |
| 242 | 242 | ||
| 243 | const struct export_operations xfs_export_operations = { | 243 | const struct export_operations xfs_export_operations = { |
