Alan Stern 12fb8c1574 [SCSI] don't kfree an initialized struct device
This patch (as1359) fixes a bug in scsi_alloc_target().  After a
device structure has been initialized (and especially after its name
has been set), it must not be freed directly.  One has to call
put_device() instead.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-04-11 09:24:15 -05:00
..
2010-04-11 09:23:32 -05:00
2010-03-15 14:50:17 +01:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:17 -05:00
2008-08-29 02:13:10 -07:00
2010-04-11 09:23:31 -05:00
2010-01-18 10:48:08 -06:00
2010-02-09 11:13:56 +01:00
2008-12-28 20:00:03 +01:00
2008-01-30 13:14:02 -06:00
2010-02-09 11:13:56 +01:00
2008-01-30 13:14:02 -06:00
2009-12-10 08:54:15 -06:00
2008-02-07 18:02:44 -06:00
2009-12-10 08:54:13 -06:00