diff options
author | rralphs <none@none> | 2007-07-05 15:41:55 -0700 |
---|---|---|
committer | rralphs <none@none> | 2007-07-05 15:41:55 -0700 |
commit | d79c609e2f0d1478b411b6c6b8a841f65804cfc8 (patch) | |
tree | 501ed686c29f0f58c7fda2e2a796450981a23839 /usr/src | |
parent | d3c8f894e9437d361ba78d09f792b0cb1ac89b6a (diff) | |
download | illumos-joyent-d79c609e2f0d1478b411b6c6b8a841f65804cfc8.tar.gz |
6575805 st panic doing USCSI_RESET
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/io/scsi/targets/st.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/scsi/targets/st.c b/usr/src/uts/common/io/scsi/targets/st.c index 6b599871ec..56ff2198b8 100644 --- a/usr/src/uts/common/io/scsi/targets/st.c +++ b/usr/src/uts/common/io/scsi/targets/st.c @@ -5361,7 +5361,8 @@ exit_free: * update the position as the user must do this to validate the * position for data protection. */ - if ((uscmd->uscsi_cdb[0] == SCMD_SPACE) && + if ((uscmd->uscsi_cdb != NULL) && + (uscmd->uscsi_cdb[0] == SCMD_SPACE) && (un->un_pos.pmode != invalid)) { uchar_t status = un->un_status; (void) st_update_block_pos(un); |