Re: Flaw in ide_unregister()

From: Alan Cox
Date: Mon Jan 10 2005 - 07:14:43 EST


On Sul, 2005-01-09 at 22:37, Richard Purdie wrote:
> I haven't investigated it yet but I suspect the usage count is held by
> ide-disk as the CF card has a mounted filesystem. As previously mentioned
> and for reference, this patch has the changes I had to make to get standard
> 2.6.10 to work:

Correct. This is intentional - what the -ac code allows you to do
(although you probably need to move the final free up to a workqueue) is
to free the hardware resources. The ide resources will then free later
on the umount

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/