Skip to content

Fix a scsi_host_dev_release() memory leak

Bart Van Assche linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2scsi_transport_fc: Introduce scsi_host_{get,put}()drivers/scsi/scsi_transport_fc.c+6 -65 replies
2/2Fix a memory leak in scsi_host_dev_release()drivers/scsi/hosts.c include/scsi/scsi_host.h+44 -180 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchChristoph HellwigJohannes Thumshirn
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fix a scsi_host_dev_release() memory leak

This patch series consists of two patches:
- A first patch that converts the code that accesses shost->shost_gendev to manipulate the shost reference count into scsi_host_{get,put}() calls.
- A second patch that fixes the actual memory leak.