SCCS-vsn: sys/kern/vfs_lookup.c 8.6
- /*
- * Check for symbolic link
- */
- if ((dp->v_type == VLNK) &&
- ((cnp->cn_flags & FOLLOW) || *ndp->ni_next == '/')) {
- cnp->cn_flags |= ISSYMLINK;
- return (0);
- }
-
/*
* Check to see if the vnode has been mounted on;
* if so find the root of the mounted file system.
/*
* Check to see if the vnode has been mounted on;
* if so find the root of the mounted file system.
+ /*
+ * Check for symbolic link
+ */
+ if ((dp->v_type == VLNK) &&
+ ((cnp->cn_flags & FOLLOW) || *ndp->ni_next == '/')) {
+ cnp->cn_flags |= ISSYMLINK;
+ return (0);
+ }
+
nextname:
/*
* Not a symbolic link. If more pathname,
nextname:
/*
* Not a symbolic link. If more pathname,