On Thu, Aug 28, 2008 at 06:56:48PM +0200, Tejun Heo wrote:
Hm, I thought Al covered that when he created the cdev interface, I
would be a bit supprised if this was the case.
> As CUSE can create and destroy devices regardless of module reference
But CUSE should be it's own module, right? And it would "own" the cdev,
so the module and cdev count should be fine and matching. The userspace
code could go away but the CUSE code should handle that with a different
reference count. This is the way that hardware drivers handle the
issue.