[haiku-bugs] Re: [Haiku] #7018: Mounting an ext3 partition

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sat, 25 Dec 2010 12:30:06 -0000

#7018: Mounting an ext3 partition
----------------------------+------------------------------
  Reporter:  eu             |        Owner:  korli
      Type:  bug            |       Status:  assigned
  Priority:  normal         |    Milestone:  R1
 Component:  System/Kernel  |      Version:  R1/Development
Resolution:                 |     Keywords:  ext3, panic
Blocked By:                 |  Has a Patch:  0
  Platform:  x86            |     Blocking:
----------------------------+------------------------------

Comment (by bonefish):

 Replying to [comment:8 korli]:
 > the ext2 addon provides its own DirectoryIterator, though the stack
 trace seems to imply the addon uses the DirectoryIterator provided by the
 kernel.

 Ah, indeed, I missed that. All kernel classes (at least all with virtual
 methods) should live in an appropriate namespace (the unnamed namespace
 for classes only used within a source file or `BPrivate` or `B*` for
 others) to avoid clashes with equally named classes in add-ons. In this
 case the problem is the `DirectoryIterator` class in
 `device_manager/legacy_drivers.cpp`.

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

Other related posts: