Move a vref call outside of proc locks and Giant.  By virtue of the fact that we (p1) are currently running, we hold a reference on p_textvp which means the vnode cannot go away.  p2 cannot run yet (and hence cannot exit) so this should be safe to do at this point.  As a bonus, it removes a block of under-Giant code that was there to support the vref.
Move a vref call outside of proc locks and Giant.  By virtue of the fact
that we (p1) are currently running, we hold a reference on p_textvp which
means the vnode cannot go away.  p2 cannot run yet (and hence cannot exit)
so this should be safe to do at this point.  As a bonus, it removes a
block of under-Giant code that was there to support the vref.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase