SCSI sg driver -stable fixes for regression in 9.4
This MR contains 2 fixes from -stable to fix a regression in the 9.4 kernel that is causing a customer crash. The second fix is itself a fix for the first fix.
scsi: sg: Avoid sg device teardown race Fixes: db59133e9279 ("scsi: sg: fix blktrace debugfs entries leakage") scsi: sg: Avoid race in error handling & drop bogus warn Fixes: 27f58c04a8f4 ("scsi: sg: Avoid sg device teardown race")
JIRA: https://issues.redhat.com/browse/RHEL-35659 Upstream Status: From upstream linux mainline
Signed-off-by: Ewan D. Milne emilne@redhat.com