Added resolving of current directory in case lookup starts from current dir.

This commit is contained in:
Bahadir Balban
2008-04-16 14:48:05 +01:00
parent 9d32f840c0
commit 730e7c210f
8 changed files with 61 additions and 38 deletions

View File

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