• Han-Wen Nienhuys's avatar
    fs: failure to unmount on cleanup is a fatal error · c8185a54
    Han-Wen Nienhuys authored
    Any subsequent attempt to remove the mountdir will fail if the unmount
    does not succeed.
    
    Use syscall.Rmdir rather than os.Remove. We know the mount point is a
    directory, and Go's cleverness can only complicate matters here.
    
    Change-Id: I62cfad63f34af17b78c3184884a2972673f631a3
    c8185a54
mem_test.go 4.32 KB