CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2019/09/10 16:39:13
Modified files: sys/scsi : st.c Log message: No need to check for ST_MOUNTED before calling st_mount_tape() AND in st_mount_tape(). Just keep the latter. st_mount_tape() is called from inside stopen() which has already found the relevant st_softc(), incremented the device reference count, and checked if it is dying. No need to repeast that in st_mount_tape(). Just pass the st_softc.