diff options
author | 1996-01-08 07:36:23 +0000 | |
---|---|---|
committer | 1996-01-08 07:36:23 +0000 | |
commit | b5030eeda6b45f9e3e648981fe812f891a9a931c (patch) | |
tree | 529646d307b3bfa88850b9bd4f79490fa0deecc0 /sys/nfs/nfs_subs.c | |
parent | Produce less output on -q as promised by the man page; (diff) | |
download | wireguard-openbsd-b5030eeda6b45f9e3e648981fe812f891a9a931c.tar.xz wireguard-openbsd-b5030eeda6b45f9e3e648981fe812f891a9a931c.zip |
graichen@freebsd.org: fixed -type:=direct mounts in amd
Diffstat (limited to 'sys/nfs/nfs_subs.c')
-rw-r--r-- | sys/nfs/nfs_subs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c index ad2ec190bb3..1322229fe51 100644 --- a/sys/nfs/nfs_subs.c +++ b/sys/nfs/nfs_subs.c @@ -698,7 +698,7 @@ nfs_loadattrcache(vpp, mdp, dposp, vaper) * information. */ np = VTONFS(vp); - if (vp->v_type == VNON) { + if (vp->v_type != vtyp) { if (vtyp == VCHR && rdev == 0xffffffff) vp->v_type = vtyp = VFIFO; else |