diff options
author | Bosko Milekic <bmilekic@FreeBSD.org> | 2000-12-21 21:44:31 +0000 |
---|---|---|
committer | Bosko Milekic <bmilekic@FreeBSD.org> | 2000-12-21 21:44:31 +0000 |
commit | 2a0c503e7afc6498157c35173896688a147efb34 (patch) | |
tree | b06b70c0a77fed3143ac7cd4a373e0881af4a5fd /sys/nfs/nfs_common.h | |
parent | b3a120de36b969a34388149a816fd8b57317debe (diff) |
Notes
Diffstat (limited to 'sys/nfs/nfs_common.h')
-rw-r--r-- | sys/nfs/nfs_common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_common.h b/sys/nfs/nfs_common.h index 0990fe4e01219..d58ef15a6c2a5 100644 --- a/sys/nfs/nfs_common.h +++ b/sys/nfs/nfs_common.h @@ -94,7 +94,7 @@ struct mbuf *nfsm_rpchead __P((struct ucred *cr, int nmflag, int procid, #define nfsm_build(a,c,s) \ do { \ if ((s) > M_TRAILINGSPACE(mb)) { \ - MGET(mb2, M_WAIT, MT_DATA); \ + MGET(mb2, M_TRYWAIT, MT_DATA); \ if ((s) > MLEN) \ panic("build > MLEN"); \ mb->m_next = mb2; \ @@ -491,8 +491,8 @@ struct mbuf *nfsm_rpchead __P((struct ucred *cr, int nmflag, int procid, if (bp >= be) { \ if (mp == mb) \ mp->m_len += bp-bpos; \ - MGET(mp, M_WAIT, MT_DATA); \ - MCLGET(mp, M_WAIT); \ + MGET(mp, M_TRYWAIT, MT_DATA); \ + MCLGET(mp, M_TRYWAIT); \ mp->m_len = NFSMSIZ(mp); \ mp2->m_next = mp; \ mp2 = mp; \ |