Fixed the component-consumption-every-lookup problem.

Now components only consumed on child lookup recursions.
This commit is contained in:
Bahadir Balban
2008-04-16 00:04:54 +01:00
parent 8a3da9c709
commit ab588c279b
4 changed files with 11 additions and 7 deletions

View File

@@ -82,7 +82,8 @@ struct vfs_mountpoint {
extern struct vfs_mountpoint vfs_root;
int vfs_mount_root(struct superblock *sb);
struct vnode *generic_vnode_lookup(struct vnode *thisnode, struct pathdata *p);
struct vnode *generic_vnode_lookup(struct vnode *thisnode, struct pathdata *p,
char *component);
struct vnode *vfs_lookup_bypath(struct pathdata *p);
struct vnode *vfs_lookup_byvnum(struct superblock *sb, unsigned long vnum);