summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_scan.c
diff options
context:
space:
mode:
authorMaurizio Lombardi <mlombard@redhat.com>2017-06-27 11:53:27 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-07-01 16:52:38 -0400
commit62e62ffd95539b9220894a7900a619e0f3ef4756 (patch)
tree79842861bc58d6abdf5181fcf9195af1800c1cc6 /drivers/scsi/scsi_scan.c
parent8dc0da7981a3f9680c873e92e3ec17308377e3b9 (diff)
downloadlwn-62e62ffd95539b9220894a7900a619e0f3ef4756.tar.gz
lwn-62e62ffd95539b9220894a7900a619e0f3ef4756.zip
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 'drivers/scsi/scsi_scan.c')
0 files changed, 0 insertions, 0 deletions