Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/miscfs/fdesc/fdesc_vnops.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/miscfs/fdesc/fdesc_vnops.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.125 retrieving revision 1.126 diff -u -p -r1.125 -r1.126 --- src/sys/miscfs/fdesc/fdesc_vnops.c 2014/09/05 10:43:26 1.125 +++ src/sys/miscfs/fdesc/fdesc_vnops.c 2015/04/20 23:03:08 1.126 @@ -1,4 +1,4 @@ -/* $NetBSD: fdesc_vnops.c,v 1.125 2014/09/05 10:43:26 christos Exp $ */ +/* $NetBSD: fdesc_vnops.c,v 1.126 2015/04/20 23:03:08 riastradh Exp $ */ /* * Copyright (c) 1992, 1993 @@ -41,7 +41,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fdesc_vnops.c,v 1.125 2014/09/05 10:43:26 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fdesc_vnops.c,v 1.126 2015/04/20 23:03:08 riastradh Exp $"); #include #include @@ -922,14 +922,13 @@ fdesc_print(void *v) int fdesc_link(void *v) { - struct vop_link_args /* { + struct vop_link_v2_args /* { struct vnode *a_dvp; struct vnode *a_vp; struct componentname *a_cnp; } */ *ap = v; VOP_ABORTOP(ap->a_dvp, ap->a_cnp); - vput(ap->a_dvp); return (EROFS); }