vacfs: fix create srv with ORCLOSE
In the current code, the srv file is removed
just after the main thread exits, while the
srv thread is still running, which is not
the expected behavior.
We moved the srv creation just before the
procrfork, in order that the srv file will
not be removed until the srv thread exits.
This change has been reviewed and merged
in plan9port.
|