Tweak for BSD44/NetBSD environ.

This commit is contained in:
brezak 1993-12-21 05:24:31 +00:00
parent afc54bea1a
commit fc69cb8898
2 changed files with 4 additions and 4 deletions

View File

@ -490,11 +490,11 @@ vnthrottle(vn, vp)
#ifdef NFSCLIENT
#ifdef BSD44
extern int (**nfsv2_vnodeop_p)();
if (vp->v_op == nfsv2_vnodeop_p)
#else
extern struct vnodeops nfsv2_vnodeops;
struct vnodeops (**nfsv2_vnodeop_p)() = nfsv2_vnodeops;
if (vp->v_op == &nfsv2_vnodeops)
#endif
if (vp->v_op == nfsv2_vnodeop_p)
vn->sc_maxactive = 2;
else
#endif

View File

@ -490,11 +490,11 @@ vnthrottle(vn, vp)
#ifdef NFSCLIENT
#ifdef BSD44
extern int (**nfsv2_vnodeop_p)();
if (vp->v_op == nfsv2_vnodeop_p)
#else
extern struct vnodeops nfsv2_vnodeops;
struct vnodeops (**nfsv2_vnodeop_p)() = nfsv2_vnodeops;
if (vp->v_op == &nfsv2_vnodeops)
#endif
if (vp->v_op == nfsv2_vnodeop_p)
vn->sc_maxactive = 2;
else
#endif