We analyze a client FS's capabilities -- i.e. which hooks it provides or
can be emulated -- and pass this info to the kernel add-on. Thus we can avoid passing requests to the userland that can't be serviced anyway. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20331 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -294,7 +294,7 @@ status_t
|
||||
BeOSKernelVolume::Access(fs_vnode node, int mode)
|
||||
{
|
||||
if (!fFSOps->access)
|
||||
return B_BAD_VALUE;
|
||||
return B_OK;
|
||||
return fFSOps->access(fVolumeCookie, node, mode);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user