aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsclient/nfs_subs.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2003-11-22 02:21:49 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2003-11-22 02:21:49 +0000
commit90abe7f2944348f95539700ab6f67d72a6ff3bb0 (patch)
treed25562b1277a5d3728ec70c624f0765ad7489560 /sys/nfsclient/nfs_subs.c
parent1647bdb853e937f3f8c655ca1c37f040c9b41e15 (diff)
downloadsrc-90abe7f2944348f95539700ab6f67d72a6ff3bb0.tar.gz
src-90abe7f2944348f95539700ab6f67d72a6ff3bb0.zip
Use function pointers to remove the depenancy cross dependancy on nfs4
and the nfs3 client. Also fix some bugs that happen to be causing crashes in both v3 and v4 introduced by the v4 import. Submitted by: Jim Rees <rees@umich.edu> Approved by: re
Notes
Notes: svn path=/head/; revision=122953
Diffstat (limited to 'sys/nfsclient/nfs_subs.c')
-rw-r--r--sys/nfsclient/nfs_subs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/nfsclient/nfs_subs.c b/sys/nfsclient/nfs_subs.c
index 8d4a3df6ba51..96f040521db6 100644
--- a/sys/nfsclient/nfs_subs.c
+++ b/sys/nfsclient/nfs_subs.c
@@ -763,10 +763,6 @@ nfs_invaldir(struct vnode *vp)
if (vp->v_type != VDIR)
panic("nfs: invaldir not dir");
#endif
- if ((VFSTONFS(vp->v_mount)->nm_flag & NFSMNT_NFSV4) != 0) {
- nfs4_invaldir(vp);
- return;
- }
np->n_direofoffset = 0;
np->n_cookieverf.nfsuquad[0] = 0;
np->n_cookieverf.nfsuquad[1] = 0;