git: b4993704d6bb - main - cam_periph: Fix a comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Jul 2023 16:08:20 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=b4993704d6bbc3d2e563a7f7f41619ca292ad5b4
commit b4993704d6bbc3d2e563a7f7f41619ca292ad5b4
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-07-21 16:06:03 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-07-21 16:07:13 +0000
cam_periph: Fix a comment
Add a couple of words so that this sentence makes sense.
Sponsored by: Netflix
---
sys/cam/cam_periph.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c
index 8defdc9ecbe6..9ff3d156023d 100644
--- a/sys/cam/cam_periph.c
+++ b/sys/cam/cam_periph.c
@@ -1262,7 +1262,7 @@ cam_periph_runccb(union ccb *ccb,
* shutdown_post_sync event will run with the scheduler stopped, but
* before we're officially dumping. To avoid hanging in adashutdown
* initiated commands (or other similar situations), we have to test for
- * either SCHEDULER_STOPPED() here as well.
+ * either dumping or SCHEDULER_STOPPED() here.
*
* To avoid locking problems, dumping/polling callers must call
* without a periph lock held.