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 22:52:38 +0200 |
commit | 62e62ffd95539b9220894a7900a619e0f3ef4756 (patch) | |
tree | 79842861bc58d6abdf5181fcf9195af1800c1cc6 /drivers/misc/sram.h | |
parent | scsi: ufs: flush eh_work when eh_work scheduled. (diff) | |
download | linux-62e62ffd95539b9220894a7900a619e0f3ef4756.tar.xz linux-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/misc/sram.h')
0 files changed, 0 insertions, 0 deletions