xfs: pass a boolean flag to xfs_trans_free_items
authorChristoph Hellwig <hch@lst.de>
Thu, 4 Jun 2015 03:47:43 +0000 (13:47 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 4 Jun 2015 03:47:43 +0000 (13:47 +1000)
The flags value always was 0 or XFS_TRANS_ABORT.  Switch to a bool
parameter to allow further cleanups.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_log_cil.c
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans_priv.h

index 45cc0ce..7e0e63e 100644 (file)
@@ -809,7 +809,7 @@ xfs_log_commit_cil(
         * the log items. This affects (at least) processing of stale buffers,
         * inodes and EFIs.
         */
-       xfs_trans_free_items(tp, tp->t_commit_lsn, 0);
+       xfs_trans_free_items(tp, tp->t_commit_lsn, false);
 
        xlog_cil_push_background(log);
 
Simple merge
Simple merge