diff options
Diffstat (limited to 'fs/xfs/xfs_trans_priv.h')
-rw-r--r-- | fs/xfs/xfs_trans_priv.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/fs/xfs/xfs_trans_priv.h b/fs/xfs/xfs_trans_priv.h index f46920589ca5..35162c238fa3 100644 --- a/fs/xfs/xfs_trans_priv.h +++ b/fs/xfs/xfs_trans_priv.h | |||
@@ -87,13 +87,17 @@ xfs_trans_ail_update( | |||
87 | xfs_trans_ail_update_bulk(ailp, &lip, 1, lsn); | 87 | xfs_trans_ail_update_bulk(ailp, &lip, 1, lsn); |
88 | } | 88 | } |
89 | 89 | ||
90 | void xfs_trans_ail_delete(struct xfs_ail *ailp, | 90 | void xfs_trans_ail_delete_bulk(struct xfs_ail *ailp, |
91 | struct xfs_log_item *lip) | 91 | struct xfs_log_item **log_items, int nr_items) |
92 | __releases(ailp->xa_lock); | 92 | __releases(ailp->xa_lock); |
93 | void xfs_trans_ail_delete_bulk(struct xfs_ail *ailp, | 93 | static inline void |
94 | struct xfs_log_item **log_items, | 94 | xfs_trans_ail_delete( |
95 | int nr_items) | 95 | struct xfs_ail *ailp, |
96 | __releases(ailp->xa_lock); | 96 | xfs_log_item_t *lip) __releases(ailp->xa_lock) |
97 | { | ||
98 | xfs_trans_ail_delete_bulk(ailp, &lip, 1); | ||
99 | } | ||
100 | |||
97 | void xfs_trans_ail_push(struct xfs_ail *, xfs_lsn_t); | 101 | void xfs_trans_ail_push(struct xfs_ail *, xfs_lsn_t); |
98 | void xfs_trans_unlocked_item(struct xfs_ail *, | 102 | void xfs_trans_unlocked_item(struct xfs_ail *, |
99 | xfs_log_item_t *); | 103 | xfs_log_item_t *); |