mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
ata/nvme: Add comment
Steal the comment from daonninvalidate about the call to disk_gone(). Sponsored by: Netflix
This commit is contained in:
parent
347a8e93fe
commit
48ae3f4f64
|
@ -1246,6 +1246,10 @@ adaoninvalidate(struct cam_periph *periph)
|
|||
*/
|
||||
cam_iosched_flush(softc->cam_iosched, NULL, ENXIO);
|
||||
|
||||
/*
|
||||
* Tell GEOM that we've gone away, we'll get a callback when it is
|
||||
* done cleaning up its resources.
|
||||
*/
|
||||
disk_gone(softc->disk);
|
||||
}
|
||||
|
||||
|
|
|
@ -608,6 +608,10 @@ ndaoninvalidate(struct cam_periph *periph)
|
|||
*/
|
||||
cam_iosched_flush(softc->cam_iosched, NULL, ENXIO);
|
||||
|
||||
/*
|
||||
* Tell GEOM that we've gone away, we'll get a callback when it is
|
||||
* done cleaning up its resources.
|
||||
*/
|
||||
disk_gone(softc->disk);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue