fdesc_vnops.c (f9b1e711f0d8c27f2d29e7a8e6276947d37a6a22) | fdesc_vnops.c (b4a58fbf640409a1e507d9f7b411c83a3f83a2f3) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1992, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software donated to Berkeley by 8 * Jan-Simon Pendry. --- 279 unchanged lines hidden (view full) --- 288 */ 289static int 290fdesc_lookup(struct vop_lookup_args *ap) 291{ 292 struct vnode **vpp = ap->a_vpp; 293 struct vnode *dvp = ap->a_dvp; 294 struct componentname *cnp = ap->a_cnp; 295 char *pname = cnp->cn_nameptr; | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1992, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software donated to Berkeley by 8 * Jan-Simon Pendry. --- 279 unchanged lines hidden (view full) --- 288 */ 289static int 290fdesc_lookup(struct vop_lookup_args *ap) 291{ 292 struct vnode **vpp = ap->a_vpp; 293 struct vnode *dvp = ap->a_dvp; 294 struct componentname *cnp = ap->a_cnp; 295 char *pname = cnp->cn_nameptr; |
296 struct thread *td = cnp->cn_thread; | 296 struct thread *td = curthread; |
297 struct file *fp; 298 struct fdesc_get_ino_args arg; 299 int nlen = cnp->cn_namelen; 300 u_int fd, fd1; 301 int error; 302 struct vnode *fvp; 303 304 if ((cnp->cn_flags & ISLASTCN) && --- 366 unchanged lines hidden --- | 297 struct file *fp; 298 struct fdesc_get_ino_args arg; 299 int nlen = cnp->cn_namelen; 300 u_int fd, fd1; 301 int error; 302 struct vnode *fvp; 303 304 if ((cnp->cn_flags & ISLASTCN) && --- 366 unchanged lines hidden --- |