Commit bd6c960a authored by Shayan Pooya's avatar Shayan Pooya Committed by Han-Wen Nienhuys

Remove out of date comment

With golang 1.9, calling WaitMount is necessary to avoid hitting the
deadlock mentioned in #165 in tests where a single process acts as
both the fuse daemon and the client.
Signed-off-by: default avatarShayan Pooya <shayan@arista.com>
parent 8412ede0
...@@ -586,7 +586,6 @@ func init() { ...@@ -586,7 +586,6 @@ func init() {
// WaitMount waits for the first request to be served. Use this to // WaitMount waits for the first request to be served. Use this to
// avoid racing between accessing the (empty or not yet mounted) // avoid racing between accessing the (empty or not yet mounted)
// mountpoint, and the OS trying to setup the user-space mount. // mountpoint, and the OS trying to setup the user-space mount.
// Currently, this call only necessary on OSX.
func (ms *Server) WaitMount() error { func (ms *Server) WaitMount() error {
err := <-ms.ready err := <-ms.ready
if err != nil { if err != nil {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment