diff options
author | Hannes Reinecke <hare@suse.de> | 2009-01-12 09:28:55 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-12 12:57:56 -0500 |
commit | 0762a4824d6c6f8eb5d2646dfda95581d99afaa5 (patch) | |
tree | dcf60e311f6ead5f706fa8956c5c7cfcee12c93f /lib/klist.c | |
parent | 71fa7421822a251fc3e9ffb54653395b6b964309 (diff) |
[SCSI] Check for deleted device in scsi_device_online()
scsi_device_online() is not just a negation of SDEV_OFFLINE,
also devices in state SDEV_DEL are actually offline.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions