@@ -163,7 +163,7 @@ libxfs_trans_read_buf(
#define xfs_log_item_in_current_chkpt(lip) (false)
/* Contorted mess to make gcc shut up about unused vars. */
-#define xfs_ail_push_target(ail) \
+#define xfs_ail_get_push_target(ail) \
((log) == (log) ? NULLCOMMITLSN : NULLCOMMITLSN)
/* from xfs_log.h */
@@ -550,7 +550,7 @@ xfs_defer_relog(
* the log threshold once per call.
*/
if (threshold_lsn == NULLCOMMITLSN) {
- threshold_lsn = xfs_ail_push_target(log->l_ailp);
+ threshold_lsn = xfs_ail_get_push_target(log->l_ailp);
if (threshold_lsn == NULLCOMMITLSN)
break;
}