* Added acquire_vnode() call that you can use to get another reference to an
inode - unlike get_vnode() the busy flag won't prevent you from getting that reference. * Changed put_vnode() to return an error in case the vnode couldn't be found. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26713 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -905,6 +905,7 @@
|
||||
#define publish_vnode fssh_publish_vnode
|
||||
#define get_vnode fssh_get_vnode
|
||||
#define put_vnode fssh_put_vnode
|
||||
#define acquire_vnode fssh_acquire_vnode
|
||||
#define remove_vnode fssh_remove_vnode
|
||||
#define unremove_vnode fssh_unremove_vnode
|
||||
#define get_vnode_removed fssh_get_vnode_removed
|
||||
|
||||
@@ -347,6 +347,8 @@ extern fssh_status_t fssh_get_vnode(fssh_fs_volume *volume,
|
||||
fssh_vnode_id vnodeID, void **_privateNode);
|
||||
extern fssh_status_t fssh_put_vnode(fssh_fs_volume *volume,
|
||||
fssh_vnode_id vnodeID);
|
||||
extern fssh_status_t fssh_acquire_vnode(fssh_fs_volume *volume,
|
||||
fssh_vnode_id vnodeID);
|
||||
extern fssh_status_t fssh_remove_vnode(fssh_fs_volume *volume,
|
||||
fssh_vnode_id vnodeID);
|
||||
extern fssh_status_t fssh_unremove_vnode(fssh_fs_volume *volume,
|
||||
|
||||
Reference in New Issue
Block a user