diff options
author | Dave Chinner <dchinner@redhat.com> | 2020-03-26 04:18:23 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-27 18:32:54 +0300 |
commit | f10e925def9a6d916b291e8c1e704df5a2976f8a (patch) | |
tree | 94d7a933b26106f96b0fd32c90d823bc55588900 /fs/xfs/xfs_log_cil.c | |
parent | 8b41e3f98e6ca17ed54615bb7a419c499d370a85 (diff) | |
download | linux-f10e925def9a6d916b291e8c1e704df5a2976f8a.tar.xz |
xfs: merge xlog_commit_record with xlog_write_done
xlog_write_done() is just a thin wrapper around xlog_commit_record(), so
they can be merged together easily.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_log_cil.c')
-rw-r--r-- | fs/xfs/xfs_log_cil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_cil.c b/fs/xfs/xfs_log_cil.c index 0ae187fa9af2..e3dd405ea767 100644 --- a/fs/xfs/xfs_log_cil.c +++ b/fs/xfs/xfs_log_cil.c @@ -839,7 +839,7 @@ restart: } spin_unlock(&cil->xc_push_lock); - error = xlog_write_done(log, tic, &commit_iclog, &commit_lsn); + error = xlog_commit_record(log, tic, &commit_iclog, &commit_lsn); if (error) goto out_abort_free_ticket; |