style(9) fix and release rwlock(9) if scsi_xs_get() returns NULL,
authormatthew <matthew@openbsd.org>
Thu, 22 Jul 2010 05:21:02 +0000 (05:21 +0000)
committermatthew <matthew@openbsd.org>
Thu, 22 Jul 2010 05:21:02 +0000 (05:21 +0000)
commit4daa7709a1b912525b15f1ee429443734730ff9a
tree53eddaf9270ff6674db5e626adb81dae06fbdf94
parent129b090604bd57ffab01b9fd59efa9f59128c2d4
style(9) fix and release rwlock(9) if scsi_xs_get() returns NULL,
which should never happen anyway.  Fixes scsi_scsi_cmd() removal
regression.

ok dlg@
sys/scsi/safte.c