summaryrefslogtreecommitdiffstats
path: root/security/commoncap.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-03-18 15:41:22 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-04-11 09:24:15 -0500
commit12fb8c1574d7d0c262d2f4c667047889c4f27ebe (patch)
tree32214bc5e70a401f8dab59b3d95dca790bb30424 /security/commoncap.c
parent1821438a9b6a8454281ec2e151014709f641d2d5 (diff)
downloadop-kernel-dev-12fb8c1574d7d0c262d2f4c667047889c4f27ebe.zip
op-kernel-dev-12fb8c1574d7d0c262d2f4c667047889c4f27ebe.tar.gz
[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>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud