Date: Tue, 9 Jan 2018 21:24:05 +0000 (UTC) From: Scott Long <scottl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r327742 - head/sys/cam/nvme Message-ID: <201801092124.w09LO5l3011611@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: scottl Date: Tue Jan 9 21:24:05 2018 New Revision: 327742 URL: https://svnweb.freebsd.org/changeset/base/327742 Log: Release the held refcount on the probe periph when probing is done, now that r327741 lets this happen. Obtained from: Netflix Modified: head/sys/cam/nvme/nvme_xpt.c Modified: head/sys/cam/nvme/nvme_xpt.c ============================================================================== --- head/sys/cam/nvme/nvme_xpt.c Tue Jan 9 21:23:16 2018 (r327741) +++ head/sys/cam/nvme/nvme_xpt.c Tue Jan 9 21:24:05 2018 (r327742) @@ -318,8 +318,7 @@ nvme_probe_start(struct cam_periph *periph, union ccb xpt_done(start_ccb); } cam_periph_invalidate(periph); - /* Can't release periph since we hit a (possibly bogus) assertion */ -// cam_periph_release_locked(periph); + cam_periph_release_locked(periph); } static void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801092124.w09LO5l3011611>