Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Eric Sandeen and committed by
Dave Chinner
e4a1e29c bda65ef8

+6 -8
+2 -2
fs/xfs/xfs_log_recover.c
··· 3145 3145 } 3146 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 3149 spin_unlock(&ailp->xa_lock); 3150 3150 3151 3151 return 0; ··· 3757 3757 lip = xfs_trans_ail_cursor_next(ailp, &cur); 3758 3758 } 3759 3759 out: 3760 - xfs_trans_ail_cursor_done(ailp, &cur); 3760 + xfs_trans_ail_cursor_done(&cur); 3761 3761 spin_unlock(&ailp->xa_lock); 3762 3762 return error; 3763 3763 }
+1 -1
fs/xfs/xfs_trans.c
··· 827 827 xfs_log_item_batch_insert(ailp, &cur, log_items, i, commit_lsn); 828 828 829 829 spin_lock(&ailp->xa_lock); 830 - xfs_trans_ail_cursor_done(ailp, &cur); 830 + xfs_trans_ail_cursor_done(&cur); 831 831 spin_unlock(&ailp->xa_lock); 832 832 } 833 833
+2 -3
fs/xfs/xfs_trans_ail.c
··· 173 173 */ 174 174 void 175 175 xfs_trans_ail_cursor_done( 176 - struct xfs_ail *ailp, 177 176 struct xfs_ail_cursor *cur) 178 177 { 179 178 cur->item = NULL; ··· 367 368 * If the AIL is empty or our push has reached the end we are 368 369 * done now. 369 370 */ 370 - xfs_trans_ail_cursor_done(ailp, &cur); 371 + xfs_trans_ail_cursor_done(&cur); 371 372 spin_unlock(&ailp->xa_lock); 372 373 goto out_done; 373 374 } ··· 452 453 break; 453 454 lsn = lip->li_lsn; 454 455 } 455 - xfs_trans_ail_cursor_done(ailp, &cur); 456 + xfs_trans_ail_cursor_done(&cur); 456 457 spin_unlock(&ailp->xa_lock); 457 458 458 459 if (xfs_buf_delwri_submit_nowait(&ailp->xa_buf_list))
+1 -2
fs/xfs/xfs_trans_priv.h
··· 133 133 xfs_lsn_t lsn); 134 134 struct xfs_log_item * xfs_trans_ail_cursor_next(struct xfs_ail *ailp, 135 135 struct xfs_ail_cursor *cur); 136 - void xfs_trans_ail_cursor_done(struct xfs_ail *ailp, 137 - struct xfs_ail_cursor *cur); 136 + void xfs_trans_ail_cursor_done(struct xfs_ail_cursor *cur); 138 137 139 138 #if BITS_PER_LONG != 64 140 139 static inline void