aboutsummaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_common.c
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1995-08-24 10:17:39 +0000
committerDoug Rabson <dfr@FreeBSD.org>1995-08-24 10:17:39 +0000
commit27df97742b396c7dfbf32b2f72a9d1b02de91ce8 (patch)
treed90bc1e43584830baedfd1de74bbb3f81e4cf79d /sys/nfs/nfs_common.c
parentf37f4df155504cf374a38fdc0a5b771e80421a03 (diff)
downloadsrc-27df97742b396c7dfbf32b2f72a9d1b02de91ce8.tar.gz
src-27df97742b396c7dfbf32b2f72a9d1b02de91ce8.zip
Add support for amd direct maps.
Reviewed by: Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
Notes
Notes: svn path=/head/; revision=10219
Diffstat (limited to 'sys/nfs/nfs_common.c')
-rw-r--r--sys/nfs/nfs_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_common.c b/sys/nfs/nfs_common.c
index 4c6d4bbc56bf..5bdda4ac63f6 100644
--- a/sys/nfs/nfs_common.c
+++ b/sys/nfs/nfs_common.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_subs.c 8.3 (Berkeley) 1/4/94
- * $Id: nfs_subs.c,v 1.21 1995/07/20 09:43:12 davidg Exp $
+ * $Id: nfs_subs.c,v 1.22 1995/07/29 11:42:22 bde Exp $
*/
/*
@@ -1243,7 +1243,7 @@ nfs_loadattrcache(vpp, mdp, dposp, vaper)
* information.
*/
np = VTONFS(vp);
- if (vp->v_type == VNON) {
+ if (vp->v_type != vtyp) {
/*
* If we had a lock and it turns out that the vnode
* is an object which we don't want to lock (e.g. VDIR)