common_access() now follows the same logic as traversing paths: if the file system
doesn't export the fs_access() function, it assumes access is granted. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14816 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -4010,7 +4010,7 @@ common_access(char *path, int mode, bool kernel)
|
|||||||
if (FS_CALL(vnode, access) != NULL)
|
if (FS_CALL(vnode, access) != NULL)
|
||||||
status = FS_CALL(vnode, access)(vnode->mount->cookie, vnode->private_node, mode);
|
status = FS_CALL(vnode, access)(vnode->mount->cookie, vnode->private_node, mode);
|
||||||
else
|
else
|
||||||
status = EOPNOTSUPP;
|
status = B_OK;
|
||||||
|
|
||||||
put_vnode(vnode);
|
put_vnode(vnode);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user