From 896aefa8ece7d3b2415b3280c4040c3d595618a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 21 Feb 2003 13:44:53 +0000 Subject: [PATCH] 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 --- headers/private/kernel/vfs.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/headers/private/kernel/vfs.h b/headers/private/kernel/vfs.h index 261577c273..8b0b903b2a 100755 --- a/headers/private/kernel/vfs.h +++ b/headers/private/kernel/vfs.h @@ -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);