diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-04-14 05:06:05 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-04-14 05:06:05 -0400 |
commit | e4a1e29cb0ace3a322c5c07d33dd1f4ab50dbbb8 (patch) | |
tree | 32701260d3f349b7fd7247287896b537ef49a7a5 | |
parent | bda65ef8a8ab8944628b7ff1182902612efd8bc3 (diff) |
xfs: remove unused ail pointer arg from xfs_trans_ail_cursor_done()
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
-rw-r--r-- | fs/xfs/xfs_log_recover.c | 4 | ||||
-rw-r--r-- | fs/xfs/xfs_trans.c | 2 | ||||
-rw-r--r-- | fs/xfs/xfs_trans_ail.c | 5 | ||||
-rw-r--r-- | fs/xfs/xfs_trans_priv.h | 3 |
4 files changed, 6 insertions, 8 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index bce53ac81096..780105236fc7 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c | |||
@@ -3145,7 +3145,7 @@ xlog_recover_efd_pass2( | |||
3145 | } | 3145 | } |
3146 | lip = xfs_trans_ail_cursor_next(ailp, &cur); | 3146 | lip = xfs_trans_ail_cursor_next(ailp, &cur); |
3147 | } | 3147 | } |
3148 | xfs_trans_ail_cursor_done(ailp, &cur); | 3148 | xfs_trans_ail_cursor_done(&cur); |
3149 | spin_unlock(&ailp->xa_lock); | 3149 | spin_unlock(&ailp->xa_lock); |
3150 | 3150 | ||
3151 | return 0; | 3151 | return 0; |
@@ -3757,7 +3757,7 @@ xlog_recover_process_efis( | |||
3757 | lip = xfs_trans_ail_cursor_next(ailp, &cur); | 3757 | lip = xfs_trans_ail_cursor_next(ailp, &cur); |
3758 | } | 3758 | } |
3759 | out: | 3759 | out: |
3760 | xfs_trans_ail_cursor_done(ailp, &cur); | 3760 | xfs_trans_ail_cursor_done(&cur); |
3761 | spin_unlock(&ailp->xa_lock); | 3761 | spin_unlock(&ailp->xa_lock); |
3762 | return error; | 3762 | return error; |
3763 | } | 3763 | } |
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index 54a57326d85b..d03932564ccb 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c | |||
@@ -827,7 +827,7 @@ xfs_trans_committed_bulk( | |||
827 | xfs_log_item_batch_insert(ailp, &cur, log_items, i, commit_lsn); | 827 | xfs_log_item_batch_insert(ailp, &cur, log_items, i, commit_lsn); |
828 | 828 | ||
829 | spin_lock(&ailp->xa_lock); | 829 | spin_lock(&ailp->xa_lock); |
830 | xfs_trans_ail_cursor_done(ailp, &cur); | 830 | xfs_trans_ail_cursor_done(&cur); |
831 | spin_unlock(&ailp->xa_lock); | 831 | spin_unlock(&ailp->xa_lock); |
832 | } | 832 | } |
833 | 833 | ||
diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c index a7287354e535..cb0f3a84cc68 100644 --- a/fs/xfs/xfs_trans_ail.c +++ b/fs/xfs/xfs_trans_ail.c | |||
@@ -173,7 +173,6 @@ xfs_trans_ail_cursor_next( | |||
173 | */ | 173 | */ |
174 | void | 174 | void |
175 | xfs_trans_ail_cursor_done( | 175 | xfs_trans_ail_cursor_done( |
176 | struct xfs_ail *ailp, | ||
177 | struct xfs_ail_cursor *cur) | 176 | struct xfs_ail_cursor *cur) |
178 | { | 177 | { |
179 | cur->item = NULL; | 178 | cur->item = NULL; |
@@ -368,7 +367,7 @@ xfsaild_push( | |||
368 | * If the AIL is empty or our push has reached the end we are | 367 | * If the AIL is empty or our push has reached the end we are |
369 | * done now. | 368 | * done now. |
370 | */ | 369 | */ |
371 | xfs_trans_ail_cursor_done(ailp, &cur); | 370 | xfs_trans_ail_cursor_done(&cur); |
372 | spin_unlock(&ailp->xa_lock); | 371 | spin_unlock(&ailp->xa_lock); |
373 | goto out_done; | 372 | goto out_done; |
374 | } | 373 | } |
@@ -453,7 +452,7 @@ xfsaild_push( | |||
453 | break; | 452 | break; |
454 | lsn = lip->li_lsn; | 453 | lsn = lip->li_lsn; |
455 | } | 454 | } |
456 | xfs_trans_ail_cursor_done(ailp, &cur); | 455 | xfs_trans_ail_cursor_done(&cur); |
457 | spin_unlock(&ailp->xa_lock); | 456 | spin_unlock(&ailp->xa_lock); |
458 | 457 | ||
459 | if (xfs_buf_delwri_submit_nowait(&ailp->xa_buf_list)) | 458 | if (xfs_buf_delwri_submit_nowait(&ailp->xa_buf_list)) |
diff --git a/fs/xfs/xfs_trans_priv.h b/fs/xfs/xfs_trans_priv.h index 12e86af9d9b9..bd1281862ad7 100644 --- a/fs/xfs/xfs_trans_priv.h +++ b/fs/xfs/xfs_trans_priv.h | |||
@@ -133,8 +133,7 @@ struct xfs_log_item * xfs_trans_ail_cursor_last(struct xfs_ail *ailp, | |||
133 | xfs_lsn_t lsn); | 133 | xfs_lsn_t lsn); |
134 | struct xfs_log_item * xfs_trans_ail_cursor_next(struct xfs_ail *ailp, | 134 | struct xfs_log_item * xfs_trans_ail_cursor_next(struct xfs_ail *ailp, |
135 | struct xfs_ail_cursor *cur); | 135 | struct xfs_ail_cursor *cur); |
136 | void xfs_trans_ail_cursor_done(struct xfs_ail *ailp, | 136 | void xfs_trans_ail_cursor_done(struct xfs_ail_cursor *cur); |
137 | struct xfs_ail_cursor *cur); | ||
138 | 137 | ||
139 | #if BITS_PER_LONG != 64 | 138 | #if BITS_PER_LONG != 64 |
140 | static inline void | 139 | static inline void |