GSoC/GCI Archive
Google Code-in 2010 DragonFly BSD

Convert uses of m_get() to m_getb()

completed by: rfw

mentors: Samuel J. Greear

Convert the following uses:

vfs/nfs/krpc_subr.c:    m = m_get(MB_WAIT, MT_DATA);
vfs/nfs/nfsm_subs.c:                                    mp = m_get(MB_WAIT, MT_DATA);
vfs/nfs/nfsm_subs.c:                            mp = m_get(MB_WAIT, MT_DATA);
vfs/nfs/nfs_mountrpc.c: m = m_get(MB_WAIT,MT_DATA);

Sizes must be programatically determined for the first argument to m_getb, if it is non-obvious a comment should be added above the call to m_getb briefly explaining what is to be put into the mbuf.