summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_cil.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-06-04 13:47:43 +1000
committerDave Chinner <david@fromorbit.com>2015-06-04 13:47:43 +1000
commiteacb24e73424bdae4aa139ddd459f86ec46f0ad0 (patch)
treec0b4cf3832ad831ce0fb69ab58f44fc7043b03d4 /fs/xfs/xfs_log_cil.c
parent2e6db6c4c1f71823472651f162f0b355f5b7951e (diff)
downloadlinux-stable-eacb24e73424bdae4aa139ddd459f86ec46f0ad0.tar.gz
linux-stable-eacb24e73424bdae4aa139ddd459f86ec46f0ad0.tar.bz2
linux-stable-eacb24e73424bdae4aa139ddd459f86ec46f0ad0.zip
xfs: pass a boolean flag to xfs_trans_free_items
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>
Diffstat (limited to 'fs/xfs/xfs_log_cil.c')
-rw-r--r--fs/xfs/xfs_log_cil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_cil.c b/fs/xfs/xfs_log_cil.c
index 45cc0ce18adf..7e0e63eb4802 100644
--- a/fs/xfs/xfs_log_cil.c
+++ b/fs/xfs/xfs_log_cil.c
@@ -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);