Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276822
b: refs/heads/master
c: 44f747f
h: refs/heads/master
v: v3
  • Loading branch information
Steffen Maier authored and James Bottomley committed Dec 14, 2011
1 parent 69b0646 commit eb79360
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e1e7ead88dff75b11b86ee0d5232c4591be1326
refs/heads/master: 44f747fff6e9f027a4866c1a6864e26ae7c510c8
4 changes: 4 additions & 0 deletions trunk/drivers/s390/scsi/zfcp_scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ static void zfcp_scsi_slave_destroy(struct scsi_device *sdev)
{
struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev);

/* if previous slave_alloc returned early, there is nothing to do */
if (!zfcp_sdev->port)
return;

zfcp_erp_lun_shutdown_wait(sdev, "scssd_1");
put_device(&zfcp_sdev->port->dev);
}
Expand Down

0 comments on commit eb79360

Please sign in to comment.