artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fd5f1f
)
either dvp == vp or dvp != vp: zap extra test.
author
espie
<espie@openbsd.org>
Thu, 26 Dec 2013 07:17:15 +0000
(07:17 +0000)
committer
espie
<espie@openbsd.org>
Thu, 26 Dec 2013 07:17:15 +0000
(07:17 +0000)
okay guenther@
sys/nfs/nfs_vnops.c
patch
|
blob
|
history
diff --git
a/sys/nfs/nfs_vnops.c
b/sys/nfs/nfs_vnops.c
index
d7d51c2
..
c20ac33
100644
(file)
--- a/
sys/nfs/nfs_vnops.c
+++ b/
sys/nfs/nfs_vnops.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: nfs_vnops.c,v 1.14
8 2013/10/17 16:27:47 bluhm
Exp $ */
+/* $OpenBSD: nfs_vnops.c,v 1.14
9 2013/12/26 07:17:15 espie
Exp $ */
/* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */
/*
@@
-1684,10
+1684,7
@@
nfs_link(void *v)
if (dvp->v_mount != vp->v_mount) {
pool_put(&namei_pool, cnp->cn_pnbuf);
- if (vp == dvp)
- vrele(dvp);
- else
- vput(dvp);
+ vput(dvp);
return (EXDEV);
}