diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-26 22:04:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-26 22:04:23 +0200 |
commit | f834c755423332a6ff4397fae754029a6a7a8249 (patch) | |
tree | 004266b9612a69484a5dc0dc3d6db0d1e5ab60d5 /drivers/s390/scsi/zfcp_ccw.c | |
parent | Merge branch 'fixes' of git://git.linux-nfs.org/pub/linux/nfs-2.6 (diff) | |
parent | [SCSI] fix scsi_send_eh_cmnd regression (diff) | |
download | linux-f834c755423332a6ff4397fae754029a6a7a8249.tar.xz linux-f834c755423332a6ff4397fae754029a6a7a8249.zip |
Merge gregkh@master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6
Diffstat (limited to 'drivers/s390/scsi/zfcp_ccw.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_ccw.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_ccw.c b/drivers/s390/scsi/zfcp_ccw.c index 57d8e4bfb8d9..fdabadeaa9ee 100644 --- a/drivers/s390/scsi/zfcp_ccw.c +++ b/drivers/s390/scsi/zfcp_ccw.c @@ -164,6 +164,11 @@ zfcp_ccw_set_online(struct ccw_device *ccw_device) retval = zfcp_adapter_scsi_register(adapter); if (retval) goto out_scsi_register; + + /* initialize request counter */ + BUG_ON(!zfcp_reqlist_isempty(adapter)); + adapter->req_no = 0; + zfcp_erp_modify_adapter_status(adapter, ZFCP_STATUS_COMMON_RUNNING, ZFCP_SET); zfcp_erp_adapter_reopen(adapter, ZFCP_STATUS_COMMON_ERP_FAILED); |