svn commit: r358727 - head/sys/cam

Warner Losh imp at FreeBSD.org
Sat Mar 7 00:29:15 UTC 2020


Author: imp
Date: Sat Mar  7 00:29:12 2020
New Revision: 358727
URL: https://svnweb.freebsd.org/changeset/base/358727

Log:
  Reword a comment to describe what's actually going on. We can call invalidate
  several times potentially. We just don't do anything on the second and
  subsequent calls.

Modified:
  head/sys/cam/cam_periph.c

Modified: head/sys/cam/cam_periph.c
==============================================================================
--- head/sys/cam/cam_periph.c	Fri Mar  6 23:31:09 2020	(r358726)
+++ head/sys/cam/cam_periph.c	Sat Mar  7 00:29:12 2020	(r358727)
@@ -649,7 +649,7 @@ cam_periph_invalidate(struct cam_periph *periph)
 
 	cam_periph_assert(periph, MA_OWNED);
 	/*
-	 * We only call this routine the first time a peripheral is
+	 * We only tear down the device the first time a peripheral is
 	 * invalidated.
 	 */
 	if ((periph->flags & CAM_PERIPH_INVALID) != 0)


More information about the svn-src-head mailing list