RE: usbdevfs mount 2x, umount 1x

From: Dunlap, Randy (randy.dunlap@intel.com)
Date: Wed Nov 29 2000 - 20:07:35 EST


> From: Alexander Viro [mailto:viro@math.psu.edu]
>
> 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.
I don't see a way to umount it twice or I would have done that.
Is there a way?

> And yes, it's "don't do it, then".
OK.

> Every mount() increments the use count.
Got that.

> Every umount() decrements it. You want it
> to become 0. Draw your conclusions...
Looks to me like umount unmounted it 2 times and decremented
the use count by 1.

I don't see a way for me to rmmod usbcore. As it is,
I have to reboot the system (or just DDT).

Thanks,
~Randy

-
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