Subject: Re: USB with iPod freezes machine
To: Aaron J. Grier <email@example.com>
From: Brett Lymn <firstname.lastname@example.org>
Date: 05/16/2007 22:36:24
On Tue, May 15, 2007 at 10:53:47PM -0700, Aaron J. Grier wrote:
> is there anything missing structure-wise in the kernel to do the right
> thing? any holes in the existing filesystem architecture which would
> preclude fixing this without re-architecting anything?
Depends on what you define as the "right" thing. It may be possible
just to walk the active vnodes, find the ones that are referencing the
device being removed and update the vnode ops vector to point at a set
that just return ENODEV. That may upset a lot of things greatly...