Re: [PATCH] USB: prevent overlapping access by usb-storage and usbfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg KH wrote:
> > allow both a kernel driver *and* userspace to open a device
> > at the same time - doing locking when the interfaces is actually
> > being used by someone.
> > 
> > For USB storage this would mean that unless a filesystem has been
> > mounted or dd is running on the block device, usbfs could claim the
> > storage interface *while* the block device exists.
> 
> It's also ripe for problems and data loss,

Hm? How so? Note "actually being used" - as soon as the block device
is in use, of course noone else can go claim that interface.


//Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux