svn commit: r269058 - head/sys/cam/ctl

Alexander Motin mav at FreeBSD.org
Thu Jul 24 14:10:59 UTC 2014


Author: mav
Date: Thu Jul 24 14:10:58 2014
New Revision: 269058
URL: http://svnweb.freebsd.org/changeset/base/269058

Log:
  Fix build with QUEUE_MACRO_DEBUG.
  
  Submitted by:	benno@
  MFC after:	3 days

Modified:
  head/sys/cam/ctl/ctl_backend_ramdisk.c

Modified: head/sys/cam/ctl/ctl_backend_ramdisk.c
==============================================================================
--- head/sys/cam/ctl/ctl_backend_ramdisk.c	Thu Jul 24 11:17:26 2014	(r269057)
+++ head/sys/cam/ctl/ctl_backend_ramdisk.c	Thu Jul 24 14:10:58 2014	(r269058)
@@ -815,7 +815,7 @@ ctl_backend_ramdisk_lun_shutdown(void *b
 	if (lun->flags & CTL_BE_RAMDISK_LUN_WAITING) {
 		wakeup(lun);
 	} else {
-		STAILQ_REMOVE(&softc->lun_list, be_lun, ctl_be_ramdisk_lun,
+		STAILQ_REMOVE(&softc->lun_list, lun, ctl_be_ramdisk_lun,
 			      links);
 		softc->num_luns--;
 		do_free = 1;


More information about the svn-src-head mailing list