Fix link sys call

Submitted by: pritc003@maroon.tc.umn.edu
This commit is contained in:
Andrey A. Chernov 1995-04-11 18:32:17 +00:00
parent 2178b9bb49
commit d99adf96e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7760
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $Id: msdosfs_vnops.c,v 1.12 1995/01/09 16:05:00 davidg Exp $ */ /* $Id: msdosfs_vnops.c,v 1.13 1995/03/19 14:28:57 davidg Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.20 1994/08/21 18:44:13 ws Exp $ */ /* $NetBSD: msdosfs_vnops.c,v 1.20 1994/08/21 18:44:13 ws Exp $ */
/*- /*-
@ -899,7 +899,9 @@ msdosfs_link(ap)
struct componentname *a_cnp; struct componentname *a_cnp;
} */ *ap; } */ *ap;
{ {
return VOP_ABORTOP(ap->a_vp, ap->a_cnp); VOP_ABORTOP(ap->a_vp, ap->a_cnp);
vput(ap->a_vp);
return EOPNOTSUPP;
} }
/* /*

View File

@ -1,4 +1,4 @@
/* $Id: msdosfs_vnops.c,v 1.12 1995/01/09 16:05:00 davidg Exp $ */ /* $Id: msdosfs_vnops.c,v 1.13 1995/03/19 14:28:57 davidg Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.20 1994/08/21 18:44:13 ws Exp $ */ /* $NetBSD: msdosfs_vnops.c,v 1.20 1994/08/21 18:44:13 ws Exp $ */
/*- /*-
@ -899,7 +899,9 @@ msdosfs_link(ap)
struct componentname *a_cnp; struct componentname *a_cnp;
} */ *ap; } */ *ap;
{ {
return VOP_ABORTOP(ap->a_vp, ap->a_cnp); VOP_ABORTOP(ap->a_vp, ap->a_cnp);
vput(ap->a_vp);
return EOPNOTSUPP;
} }
/* /*