Re: [PATCH 33/38] scsi: transport: add missing put_device call

2013-12-19 Thread James Bottomley
On Thu, 2013-12-19 at 16:06 +0100, Levente Kurusa wrote: > This is required so that we give up the last reference to the device. This isn't true. > Remove the kfree() as well, because the put_device() will result in > iscsi_endpoint_release being called and hence it will be kfree'd. There's no r

[PATCH 33/38] scsi: transport: add missing put_device call

2013-12-19 Thread Levente Kurusa
This is required so that we give up the last reference to the device. Remove the kfree() as well, because the put_device() will result in iscsi_endpoint_release being called and hence it will be kfree'd. Signed-off-by: Levente Kurusa --- drivers/scsi/scsi_transport_iscsi.c | 10 -- 1 fil