summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trans_priv.h
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_trans_priv.h
parent2e6db6c4c1f71823472651f162f0b355f5b7951e (diff)
downloadtalos-obmc-linux-eacb24e73424bdae4aa139ddd459f86ec46f0ad0.tar.gz
talos-obmc-linux-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_trans_priv.h')
-rw-r--r--fs/xfs/xfs_trans_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans_priv.h b/fs/xfs/xfs_trans_priv.h
index bd1281862ad7..1b736294558a 100644
--- a/fs/xfs/xfs_trans_priv.h
+++ b/fs/xfs/xfs_trans_priv.h
@@ -30,7 +30,7 @@ void xfs_trans_init(struct xfs_mount *);
void xfs_trans_add_item(struct xfs_trans *, struct xfs_log_item *);
void xfs_trans_del_item(struct xfs_log_item *);
void xfs_trans_free_items(struct xfs_trans *tp, xfs_lsn_t commit_lsn,
- int flags);
+ bool abort);
void xfs_trans_unreserve_and_mod_sb(struct xfs_trans *tp);
void xfs_trans_committed_bulk(struct xfs_ail *ailp, struct xfs_log_vec *lv,
OpenPOWER on IntegriCloud