]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libata: fix ata_host_release() free order
authorTejun Heo <htejun@gmail.com>
Fri, 9 Mar 2007 10:36:12 +0000 (19:36 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Mar 2007 13:41:16 +0000 (08:41 -0500)
commit1aa506e437a94d520f852d39d5d6a6e7f2e01901
treef001596d659c278ef8d78de1e11eae7b9198705c
parent8ba5e4cbe444f10352756b6c7715bb26bb087680
libata: fix ata_host_release() free order

host->ops->host_stop() might access ports.  Free ports after
host_stop.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c