[haiku-bugs] Re: [Haiku] #6359: Kernel panic when deleting file on a write protected usb key

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 22 Jul 2010 14:57:28 -0000

#6359: Kernel panic when deleting file on a write protected usb key
--------------------------+-------------------------------------------------
  Reporter:  jackburton   |         Owner:  mmlr     
      Type:  bug          |        Status:  new      
  Priority:  critical     |     Milestone:  R1       
 Component:  Drivers/USB  |       Version:  R1/alpha2
Resolution:               |      Keywords:           
Blocked By:               |   Has a Patch:  0        
  Platform:  All          |      Blocking:           
--------------------------+-------------------------------------------------

Comment (by bonefish):

 Assuming usb_disk is the underlying driver, [http://dev.haiku-
 os.org/browser/haiku/trunk/src/add-
 ons/kernel/drivers/disk/usb/usb_disk/usb_disk.cpp?rev=36162#L918
 usb_disk_open()] doesn't have any handling for the open mode (`flags`). I
 don't think I've seen any driver that does, though.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6359#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: