mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
xfs: remove dead ifdef XFSERRORDEBUG code
XFSERRORDEBUG is never set and the code isn't all that useful, so remove it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
This commit is contained in:
parent
df732b29c8
commit
032cc34ed5
@ -3996,19 +3996,6 @@ xfs_log_force_umount(
|
||||
spin_unlock(&log->l_cilp->xc_push_lock);
|
||||
xlog_state_do_callback(log, true, NULL);
|
||||
|
||||
#ifdef XFSERRORDEBUG
|
||||
{
|
||||
xlog_in_core_t *iclog;
|
||||
|
||||
spin_lock(&log->l_icloglock);
|
||||
iclog = log->l_iclog;
|
||||
do {
|
||||
ASSERT(iclog->ic_callback == 0);
|
||||
iclog = iclog->ic_next;
|
||||
} while (iclog != log->l_iclog);
|
||||
spin_unlock(&log->l_icloglock);
|
||||
}
|
||||
#endif
|
||||
/* return non-zero if log IOERROR transition had already happened */
|
||||
return retval;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user