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 NFSCLIENT
#ifdef BSD44 #ifdef BSD44
extern int (**nfsv2_vnodeop_p)(); extern int (**nfsv2_vnodeop_p)();
if (vp->v_op == nfsv2_vnodeop_p)
#else #else
extern struct vnodeops nfsv2_vnodeops; extern struct vnodeops nfsv2_vnodeops;
struct vnodeops (**nfsv2_vnodeop_p)() = nfsv2_vnodeops; if (vp->v_op == &nfsv2_vnodeops)
#endif #endif
if (vp->v_op == nfsv2_vnodeop_p)
vn->sc_maxactive = 2; vn->sc_maxactive = 2;
else else
#endif #endif

View File

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