diff options
author | Maurizio Lombardi <mlombard@redhat.com> | 2017-06-27 09:53:27 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-27 22:07:59 (GMT) |
commit | 542c097f1cb61f57ad42ffd8431371d69e76aa03 (patch) | |
tree | 2c4852d3b7fe81af8012bc50df74aeca9c4f784f /drivers/macintosh/windfarm_pm112.c | |
parent | d2bb0af4463d0fd094385d8e15f8f18c9adaafa4 (diff) | |
download | linux-542c097f1cb61f57ad42ffd8431371d69e76aa03.tar.xz |
scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails.
commit 62e62ffd95539b9220894a7900a619e0f3ef4756 upstream.
The enclosure_add_device() function should fail if it can't create the
relevant sysfs links.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/macintosh/windfarm_pm112.c')
0 files changed, 0 insertions, 0 deletions