diff options
author | Maurizio Lombardi <mlombard@redhat.com> | 2017-06-27 11:53:27 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-07-01 16:52:38 -0400 |
commit | 62e62ffd95539b9220894a7900a619e0f3ef4756 (patch) | |
tree | 79842861bc58d6abdf5181fcf9195af1800c1cc6 /include/scsi | |
parent | 8dc0da7981a3f9680c873e92e3ec17308377e3b9 (diff) |
scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails.
The enclosure_add_device() function should fail if it can't create the
relevant sysfs links.
Cc: <stable@vger.kernel.org>
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Tested-by: Douglas Miller <dougmill@linux.vnet.ibm.com>
Acked-by: James Bottomley <jejb@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions