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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user