Maurizio Lombardi 62e62ffd95 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>
2017-07-01 16:52:38 -04:00
..
2017-05-02 23:41:43 +03:00
2017-04-08 18:22:59 +02:00
2017-05-16 23:05:40 +02:00
2017-04-08 17:56:02 +02:00
2017-04-08 17:56:02 +02:00
2017-05-08 19:03:25 -07:00