Re: usbdevfs mount 2x, umount 1x

From: Alexander Viro (viro@math.psu.edu)
Date: Wed Nov 29 2000 - 19:52:56 EST


On Wed, 29 Nov 2000, Randy Dunlap wrote:

> [I reported this a couple of months back. Got no
> feedback on it. If it's just a DDT (don't do that)
> or a user error, please say so.]
>
> Summary: After I mount usbdevfs 2 times, and umount it
> 1 time, the usbcore module use count prevents it from
> being rmmod-ed.

So umount it twice. And yes, it's "don't do it, then". Every mount()
increments the use count. Every umount() decrements it. You want it
to become 0. Draw your conclusions...

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



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:23 EST