commit | 62e62ffd95539b9220894a7900a619e0f3ef4756 | [log] [tgz] |
---|---|---|
author | Maurizio Lombardi <mlombard@redhat.com> | Tue Jun 27 11:53:27 2017 +0200 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Sat Jul 01 16:52:38 2017 -0400 |
tree | 79842861bc58d6abdf5181fcf9195af1800c1cc6 | |
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>