search for: this_inode

Displaying 1 result from an estimated 1 matches for "this_inode".

Did you mean: the_inode
2009 Oct 25
0
[fsc]Adding a generic path_lookup function in VFS
...leton of the generic path_lookup function: > if (*name == '/') { > inode = this_fs->fs_ops->iget_root(); // The way to get the root > inode is different from different fs > while(*name == '/') > name++; > } else { > inode = this_inode; // pwd > } > parent = inode; > > while (*name) { > p = part; > while(*name && *name != '/') > *p++ = *name++; > *p = '\0'; > inode = this_fs->fs_ops->iget(part, par...