diff options
| author | Warner Losh <imp@FreeBSD.org> | 2026-03-11 22:29:17 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2026-03-11 22:29:49 +0000 |
| commit | a8b15315b250b067f16d629664caf6358d468bff (patch) | |
| tree | 08b020d5f3b6d2eb9226d0bd8fe581c227133983 | |
| parent | 738aea3387d831c95024fd28076dadde132ceaec (diff) | |
cam: Add comment about routine
Explain why we bump ref counts here.
Sponsored by: Netflix
| -rw-r--r-- | sys/cam/cam_xpt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index 8b42fb2ca6c5..f43dde8de401 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -1027,6 +1027,10 @@ xpt_add_periph(struct cam_periph *periph) return (status); } +/* + * Remove this peripheral from the list of peripherals the devices maintains. + * Bump generation numbers to note topology changes. + */ void xpt_remove_periph(struct cam_periph *periph) { |
