In st_space() and st_write_filemarks(), if scsi_xs_get() returns NULL,
authormatthew <matthew@openbsd.org>
Thu, 22 Jul 2010 05:26:34 +0000 (05:26 +0000)
committermatthew <matthew@openbsd.org>
Thu, 22 Jul 2010 05:26:34 +0000 (05:26 +0000)
commit6154a1e96b4d9a1c1ec0013748c75835f38b0741
tree7de99b882e502fd5220c68bf813162258b044bff
parent71a12afc8d0729f48f0022122807c7e8d0b15ab1
In st_space() and st_write_filemarks(), if scsi_xs_get() returns NULL,
set st->media_fileno and st->media_blkno before returning.  Not sure
if this is needed or even really correct, but it's an unintentional
behavior change due to removing scsi_scsi_cmd().

ok dlg@
sys/scsi/st.c