rem: return path_to_vnode(path, v, kernel);
add: return path_to_vnode(path, _vnode, kernel);
context: path_to_dir_vnode(char *path, struct vnode **v, char *filename, bool kernel){	char *p;	p = strrchr(path, '/');	if (!p) {		// this path is single segment with no '/' in it		// ex. "foo"		strcpy(filename, path);		strcpy(path, ".");	} else {		// replace the filename portion of the path with a '.'		strcpy(filename, p+1);		if (p[1] != '\0'){			p[1] = '.';			p[2] = '\0';		}	}	return path_to_vnode(path, v, kernel);}