checkvp_chdir
error = checkvp_chdir(vp, td);
static int checkvp_chdir (struct vnode *vn, struct thread *td);