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)
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to