svn commit: r269151 - stable/10/sys/cam/ctl

Alexander Motin mav at FreeBSD.org
Sun Jul 27 08:02:24 UTC 2014


Author: mav
Date: Sun Jul 27 08:02:24 2014
New Revision: 269151
URL: http://svnweb.freebsd.org/changeset/base/269151

Log:
  MFC r269058:
  Fix build with QUEUE_MACRO_DEBUG.

Modified:
  stable/10/sys/cam/ctl/ctl_backend_ramdisk.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cam/ctl/ctl_backend_ramdisk.c
==============================================================================
--- stable/10/sys/cam/ctl/ctl_backend_ramdisk.c	Sun Jul 27 07:07:12 2014	(r269150)
+++ stable/10/sys/cam/ctl/ctl_backend_ramdisk.c	Sun Jul 27 08:02:24 2014	(r269151)
@@ -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-stable-10 mailing list