aboutsummaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-06-28 07:06:55 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-06-28 07:06:55 +0000
commit9879652657e2c097598094935210280424a76b28 (patch)
treef6518f7033ff690afced21b4024457807f07fd16 /sys/fs
parentc5f944ee5ab111c903430e2d7c175d1dd8097ad1 (diff)
downloadsrc-9879652657e2c097598094935210280424a76b28.tar.gz
src-9879652657e2c097598094935210280424a76b28.zip
Fixed VOP_LINK argument order botch.
Notes
Notes: svn path=/head/; revision=9354
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/msdosfs/msdosfs_vnops.c6
-rw-r--r--sys/fs/unionfs/union_vnops.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c
index 2c41c9c0a88a..49de28cc5ea9 100644
--- a/sys/fs/msdosfs/msdosfs_vnops.c
+++ b/sys/fs/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $Id: msdosfs_vnops.c,v 1.16.2.3 1995/06/02 11:03:15 davidg Exp $ */
+/* $Id: msdosfs_vnops.c,v 1.17 1995/06/11 19:31:37 rgrimes Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.20 1994/08/21 18:44:13 ws Exp $ */
/*-
@@ -908,8 +908,8 @@ msdosfs_link(ap)
struct componentname *a_cnp;
} */ *ap;
{
- VOP_ABORTOP(ap->a_vp, ap->a_cnp);
- vput(ap->a_vp);
+ VOP_ABORTOP(ap->a_tdvp, ap->a_cnp);
+ vput(ap->a_tdvp);
return EOPNOTSUPP;
}
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c
index df1935b1651e..0a1be17102af 100644
--- a/sys/fs/unionfs/union_vnops.c
+++ b/sys/fs/unionfs/union_vnops.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_vnops.c 8.6 (Berkeley) 2/17/94
- * $Id: union_vnops.c,v 1.7 1994/10/10 07:55:48 phk Exp $
+ * $Id: union_vnops.c,v 1.8 1994/11/04 14:41:46 davidg Exp $
*/
#include <sys/param.h>
@@ -919,7 +919,7 @@ union_link(ap)
VREF(vp);
vrele(ap->a_tdvp);
- error = VOP_LINK(dvp, vp, ap->a_cnp);
+ error = VOP_LINK(vp, dvp, ap->a_cnp);
} else {
/*
* XXX: need to copy to upper layer