Fix build with enabled debug after r310778.

MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2016-12-29 18:08:04 +00:00
parent 0013dd123f
commit 49fe3b378b

View File

@ -12519,7 +12519,7 @@ ctl_datamove(union ctl_io *io)
{
void (*fe_datamove)(union ctl_io *io);
mtx_assert(&CTL_SOFTC(io)->ctl_lock, MA_NOTOWNED);
mtx_assert(&((struct ctl_softc *)CTL_SOFTC(io))->ctl_lock, MA_NOTOWNED);
CTL_DEBUG_PRINT(("ctl_datamove\n"));
@ -13012,7 +13012,7 @@ static void
ctl_datamove_remote(union ctl_io *io)
{
mtx_assert(&CTL_SOFTC(io)->ctl_lock, MA_NOTOWNED);
mtx_assert(&((struct ctl_softc *)CTL_SOFTC(io))->ctl_lock, MA_NOTOWNED);
if (io->io_hdr.flags & CTL_FLAG_FAILOVER) {
ctl_failover_io(io, /*have_lock*/ 0);