diff options
author | Jie Liu <jeff.liu@oracle.com> | 2014-02-07 05:26:07 +0100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-02-07 05:26:07 +0100 |
commit | c6f9726444c8f8c7df24950864bf1a4cb2c61b3e (patch) | |
tree | 96ff5e5c909215e3b1c8e35a57e595b939027e39 /fs/xfs/xfs_log.h | |
parent | xfs: use tr_qm_dqalloc log reservation for dquot alloc (diff) | |
download | linux-c6f9726444c8f8c7df24950864bf1a4cb2c61b3e.tar.xz linux-c6f9726444c8f8c7df24950864bf1a4cb2c61b3e.zip |
xfs: convert xfs_log_commit_cil() to void
Convert xfs_log_commit_cil() to a void function since it return nothing
but 0 in any case, after that we can simplify the relative code logic
in xfs_trans_commit() accordingly.
Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_log.h')
-rw-r--r-- | fs/xfs/xfs_log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.h b/fs/xfs/xfs_log.h index b0f4ef77fa70..2c4004475e71 100644 --- a/fs/xfs/xfs_log.h +++ b/fs/xfs/xfs_log.h @@ -175,7 +175,7 @@ void xlog_iodone(struct xfs_buf *); struct xlog_ticket *xfs_log_ticket_get(struct xlog_ticket *ticket); void xfs_log_ticket_put(struct xlog_ticket *ticket); -int xfs_log_commit_cil(struct xfs_mount *mp, struct xfs_trans *tp, +void xfs_log_commit_cil(struct xfs_mount *mp, struct xfs_trans *tp, xfs_lsn_t *commit_lsn, int flags); bool xfs_log_item_in_current_chkpt(struct xfs_log_item *lip); |