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:
parent
ac50702270
commit
04cd47db59
@ -4010,7 +4010,7 @@ common_access(char *path, int mode, bool kernel)
|
||||
if (FS_CALL(vnode, access) != NULL)
|
||||
status = FS_CALL(vnode, access)(vnode->mount->cookie, vnode->private_node, mode);
|
||||
else
|
||||
status = EOPNOTSUPP;
|
||||
status = B_OK;
|
||||
|
||||
put_vnode(vnode);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user