diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-12-17 13:19:53 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-12-19 04:52:14 +0100 |
commit | 8b2db98e814a5ec45e8800fc22ca9000ae0a517b (patch) | |
tree | a24993e213b00c79b4e7f145479686576bd7c2e7 /drivers/block | |
parent | scsi: virtio_scsi: Remove per-target data because it is no longer used (diff) | |
download | linux-8b2db98e814a5ec45e8800fc22ca9000ae0a517b.tar.xz linux-8b2db98e814a5ec45e8800fc22ca9000ae0a517b.zip |
scsi: target/core: Use kmem_cache_free() instead of kfree()
memory allocated by kmem_cache_alloc() should be freed using
kmem_cache_free(), not kfree().
Fixes: ad669505c4e9 ("scsi: target/core: Make sure that target_wait_for_sess_cmds() waits long enough")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions