diff options
author | Hannes Reinecke <hare@suse.de> | 2017-07-24 12:09:36 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-07-24 22:17:30 -0400 |
commit | 260f4aeddb48b16b2f4da306f4d97d44ef102f6b (patch) | |
tree | e152e54711ef4e1ee1bb773cc99a97f5eba6b356 /net | |
parent | 5029271072bf55afa6d836180ee93af09b26ab8b (diff) | |
download | linux-260f4aeddb48b16b2f4da306f4d97d44ef102f6b.tar.bz2 |
scsi: scsi_transport_fc: return -EBUSY for deleted vport
When trying to delete a vport via 'vport_delete' sysfs attribute we
should be checking if the port is already in state VPORT_DELETING; if so
there's no need to do anything.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions