diff options
| author | Luo Jiaxing <[email protected]> | 2019-10-24 22:08:24 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-10-24 21:31:15 -0400 |
| commit | cabe7c10c97a0857a9fb14b6c772ab784947995d (patch) | |
| tree | 9d286228bb2ec397a89e9f56f2ebd4e373fcd408 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 8f6432986e610612688dc77c2683657d7289546f (diff) | |
scsi: hisi_sas: Delete the debugfs folder of hisi_sas when the probe fails
Although if the debugfs initialization fails, we will delete the debugfs
folder of hisi_sas, but we did not consider the scenario where debugfs was
successfully initialized, but the probe failed for other reasons. We found
out that hisi_sas folder is still remain after the probe failed.
When probe fail, we should delete debugfs folder to avoid the above issue.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Luo Jiaxing <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions