Date: Fri, 18 Mar 2016 13:26:16 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r297018 - head/sys/dev/iscsi Message-ID: <201603181326.u2IDQGdN046839@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Fri Mar 18 13:26:16 2016 New Revision: 297018 URL: https://svnweb.freebsd.org/changeset/base/297018 Log: Add lock assertion. MFC after: 1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/iscsi.c Modified: head/sys/dev/iscsi/iscsi.c ============================================================================== --- head/sys/dev/iscsi/iscsi.c Fri Mar 18 10:01:25 2016 (r297017) +++ head/sys/dev/iscsi/iscsi.c Fri Mar 18 13:26:16 2016 (r297018) @@ -288,6 +288,8 @@ iscsi_session_terminate_task(struct iscs struct iscsi_outstanding *io, bool requeue) { + ISCSI_SESSION_LOCK_ASSERT(is); + if (io->io_ccb != NULL) { io->io_ccb->ccb_h.status &= ~(CAM_SIM_QUEUED | CAM_STATUS_MASK); if (requeue)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603181326.u2IDQGdN046839>