aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_init.c
diff options
context:
space:
mode:
authorZdenek Kabelac <[email protected]>2017-11-08 12:44:55 +0000
committerShaohua Li <[email protected]>2017-11-10 19:43:04 +0000
commit0202ce8a90efdc81600e7bf9712d8c324081a924 (patch)
treef260f7241e8fc6e3ed5253374f0eca0e8b9e696a /drivers/scsi/libsas/sas_init.c
parentmd/bitmap: clear BITMAP_WRITE_ERROR bit before writing it to sb (diff)
downloadkernel-0202ce8a90efdc81600e7bf9712d8c324081a924.tar.gz
kernel-0202ce8a90efdc81600e7bf9712d8c324081a924.zip
md: release allocated bitset sync_set
Patch fixes kmemleak on md_stop() path used likely only by dm-raid wrapper. Code of md is using mddev_put() where both bitsets are released however this freeing is not shared. Also set NULL to bio_set and sync_set pointers just like mddev_put is doing. Signed-off-by: Zdenek Kabelac <[email protected]> Signed-off-by: Shaohua Li <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
0 files changed, 0 insertions, 0 deletions