History log of /haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/UserlandFS.cpp
Revision Date Author Comments
# 0e24bb02 29-Mar-2015 Michael Lotz <mmlr@mlotz.ch>

UserlandFS: Fix detection when a file system should be deleted.

This was a regression from hrev39870 where a private Referenceable class
was replaced with BReferenceable. Referenceable::RemoveReference()
returned a boolean to indicate whether the last reference was released
while BReferenceable::ReleaseReference() returns the previous reference
count.

A file system would therefore be deleted when any but the last reference
to it would be released (when multiple volumes of that file system were
mounted and one of them was unmounted) and leaked otherwise (when only
one volume of that file system was mounted and then unmounted).

Fixes #11718.


# 88e38c17 16-Dec-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Replace uses of obsolescent BReference[able] API.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39870 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0f413937 07-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed left-over.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29433 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fac733d2 03-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed the remnants of the dispatcher mechanism.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29390 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2f1f4f54 01-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Renamed UserlandFSServer to userlandfs_server. It is expected to live in
/system/servers, now.
* Got rid of the dispatcher application. It was the entity the kernel module
talked to when mounting a yet unknown FS. It started the client FS server
applications. Now the kernel module starts them directly. They use
respectively named ports, so the kernel module can find them when already
running.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29377 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5a5aacca 04-Mar-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Added a level of indirection in the FileSystem management
(FileSystemInitializer). This will allow for subclassing FileSystem
later.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20328 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6aeea78c6 04-Mar-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Made the UserlandFS code gcc4 friendly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20322 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b12d25d1 25-Feb-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

First walk through the userlandfs kernel add-on to port it to the Haiku
FS interface. Adjusted old hooks, but didn't add the new ones yet. The
module builds now at least.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20235 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 83812f67 23-Feb-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Copied userlandfs code from the test tree to the haiku source tree,
where it will be ported to Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20216 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0e24bb020b49f28646d038c0e91872b2d8bda42f 29-Mar-2015 Michael Lotz <mmlr@mlotz.ch>

UserlandFS: Fix detection when a file system should be deleted.

This was a regression from hrev39870 where a private Referenceable class
was replaced with BReferenceable. Referenceable::RemoveReference()
returned a boolean to indicate whether the last reference was released
while BReferenceable::ReleaseReference() returns the previous reference
count.

A file system would therefore be deleted when any but the last reference
to it would be released (when multiple volumes of that file system were
mounted and one of them was unmounted) and leaked otherwise (when only
one volume of that file system was mounted and then unmounted).

Fixes #11718.


# 88e38c178a96634d52920e2de8bb3cbd49869f93 16-Dec-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Replace uses of obsolescent BReference[able] API.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39870 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0f413937327bd859e7ef1ecc7608cc3dfb8c9f27 07-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed left-over.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29433 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fac733d2f6e7cff3ea88d217fa99134735654acb 03-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed the remnants of the dispatcher mechanism.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29390 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2f1f4f54d64e2d0a04015de5c3788fabc1989aa0 01-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Renamed UserlandFSServer to userlandfs_server. It is expected to live in
/system/servers, now.
* Got rid of the dispatcher application. It was the entity the kernel module
talked to when mounting a yet unknown FS. It started the client FS server
applications. Now the kernel module starts them directly. They use
respectively named ports, so the kernel module can find them when already
running.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29377 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5a5aacca23a976e186320987cfbf5988b87546bc 04-Mar-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Added a level of indirection in the FileSystem management
(FileSystemInitializer). This will allow for subclassing FileSystem
later.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20328 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6aeea78c6e84f6f415b8de776135ccf5b5676bd1 04-Mar-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Made the UserlandFS code gcc4 friendly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20322 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b12d25d15dd11b61fae5f49bfa21d3c884cfdf63 25-Feb-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

First walk through the userlandfs kernel add-on to port it to the Haiku
FS interface. Adjusted old hooks, but didn't add the new ones yet. The
module builds now at least.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20235 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 83812f67529c88d4fb4b942162a9f21142e683fa 23-Feb-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Copied userlandfs code from the test tree to the haiku source tree,
where it will be ported to Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20216 a95241bf-73f2-0310-859d-f6bbb57e9c96