Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs PR/14776: Emmanuel Dreyfus: cross device hard link c...
details: https://anonhg.NetBSD.org/src/rev/b382e9a758fd
branches: trunk
changeset: 518407:b382e9a758fd
user: christos <christos%NetBSD.org@localhost>
date: Thu Nov 29 22:32:53 2001 +0000
description:
PR/14776: Emmanuel Dreyfus: cross device hard link causes panic.
Call VOP_ABORTOP on the right vnode damnit!
diffstat:
sys/nfs/nfs_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 475cae6eee41 -r b382e9a758fd sys/nfs/nfs_vnops.c
--- a/sys/nfs/nfs_vnops.c Thu Nov 29 22:32:45 2001 +0000
+++ b/sys/nfs/nfs_vnops.c Thu Nov 29 22:32:53 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_vnops.c,v 1.143 2001/11/10 10:59:10 lukem Exp $ */
+/* $NetBSD: nfs_vnops.c,v 1.144 2001/11/29 22:32:53 christos Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.143 2001/11/10 10:59:10 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.144 2001/11/29 22:32:53 christos Exp $");
#include "opt_nfs.h"
#include "opt_uvmhist.h"
@@ -1795,7 +1795,7 @@
int v3;
if (dvp->v_mount != vp->v_mount) {
- VOP_ABORTOP(vp, cnp);
+ VOP_ABORTOP(dvp, cnp);
vput(dvp);
return (EXDEV);
}
Home |
Main Index |
Thread Index |
Old Index