* add implementation of bindfs, which can be used to bind-mount

a folder to some other place in the filesystem hierarchy
* add helper function to VFS that encapsulates the "conversion" of a
  vnode-pointer to a fs_vnode-pointer (used by bindfs)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40238 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2011-01-16 16:33:11 +00:00
parent 6420e23bca
commit 137c5fe2ba
13 changed files with 1816 additions and 0 deletions
+1
View File
@@ -87,6 +87,7 @@ status_t vfs_entry_ref_to_vnode(dev_t mountID, ino_t directoryID,
const char *name, struct vnode **_vnode);
void vfs_vnode_to_node_ref(struct vnode *vnode, dev_t *_mountID,
ino_t *_vnodeID);
struct fs_vnode* vfs_fsnode_for_vnode(struct vnode* vnode);
int vfs_open_vnode(struct vnode* vnode, int openMode, bool kernel);
status_t vfs_lookup_vnode(dev_t mountID, ino_t vnodeID,