mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
scsi: ufs: bsg: Delete bsg_dev when setting up bsg fails
[ Upstream commitfcf247deb3] We should remove the bsg device when bsg_setup_queue() fails to release the resources. Fixes:df032bf27a("scsi: ufs: Add a bsg endpoint that supports UPIUs") Signed-off-by: Guixin Liu <kanie@linux.alibaba.com> Link: https://lore.kernel.org/r/20241218014214.64533-2-kanie@linux.alibaba.com Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
808e6898e0
commit
0baeb686a7
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue