Skip to content
Commit 1aa56cca authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik
Browse files

libata: clear drvdata in ata_host_release(), take#2



Clearing drvdata in ->remove_one causes NULL pointer deference.  Clear
drvdata only in ata_host_release() after all resources are freed.

Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 7b965e08
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment