Adjusted the FileSystem, Volume, and UserlandRequestHandler to the new FS

interface. The classes actually interfacing with the client FS add-on still
need to be adjusted.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20246 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-02-27 23:27:27 +00:00
parent 583ed1c698
commit 8474904ee0
10 changed files with 1096 additions and 827 deletions
@@ -19,13 +19,12 @@ BeOSKernelFileSystem::~BeOSKernelFileSystem()
// CreateVolume
status_t
BeOSKernelFileSystem::CreateVolume(Volume** volume, nspace_id id)
BeOSKernelFileSystem::CreateVolume(Volume** volume, mount_id id)
{
// check initialization and parameters
if (!fFSOps)
return B_BAD_VALUE;
if (!volume)
if (!fFSOps || !volume)
return B_BAD_VALUE;
// create the volume
*volume = new(nothrow) BeOSKernelVolume(this, id, fFSOps);
if (!*volume)