Added a new call vfs_new_vnode(), replaced "int" return type to status_t

for the VFS vnode functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2785 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-02-21 13:44:53 +00:00
parent a8224b9257
commit 896aefa8ec

View File

@ -67,9 +67,10 @@ int vfs_setrlimit(int resource, const struct rlimit * rlp);
extern status_t notify_select_event(struct selectsync *sync, uint32 ref, uint8 event);
/* calls needed by fs internals */
int vfs_get_vnode(mount_id mountID, vnode_id vnodeID, fs_vnode *v);
int vfs_put_vnode(mount_id mountID, vnode_id vnodeID);
int vfs_remove_vnode(mount_id mountID, vnode_id vnodeID);
extern status_t vfs_new_vnode(mount_id mountID, vnode_id vnodeID, fs_vnode privateNode);
extern status_t vfs_get_vnode(mount_id mountID, vnode_id vnodeID, fs_vnode *_privateNode);
extern status_t vfs_put_vnode(mount_id mountID, vnode_id vnodeID);
extern status_t vfs_remove_vnode(mount_id mountID, vnode_id vnodeID);
/* calls needed by the VM for paging */
int vfs_get_vnode_from_fd(int fd, bool kernel, void **vnode);