diff options
| author | Ewan D. Milne <emilne@redhat.com> | 2026-07-13 13:33:18 -0400 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-07-18 16:07:22 +0200 |
| commit | 6e328b4a208f7a06df3c1df18d7645c74c90f5f3 (patch) | |
| tree | d8250ff3289c1bb09fd4b18d4f949565dc1a2c88 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 54b4b3aa7c5b59ca6b507ef36f8f6060bdf34f5f (diff) | |
drivers: base: Remove statistics group if encryption group not created
If transport_add_class_device() gets an error from sysfs_create_group() when
creating the encryption group, it does not remove the statistics group in
the error path. Adjust the error path to do this properly.
v2: Only remove statistics group if tcont->statistics is non-NULL
Fixes: bd2bc528691e ("scsi: scsi_transport_fc: Introduce encryption group")
Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Justin Tee <justin.tee@broadcom.com>
Link: https://patch.msgid.link/20260713173318.3060047-1-emilne@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
