Commit 0589b29a authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse: tweak Unmount doc comment

Change-Id: I7e9b530906c233f7fcdac434984b9051acb7dbb9
parent 43becab8
...@@ -116,14 +116,14 @@ func (ms *Server) RecordLatencies(l LatencyMap) { ...@@ -116,14 +116,14 @@ func (ms *Server) RecordLatencies(l LatencyMap) {
// Unmount calls fusermount -u on the mount. This has the effect of // Unmount calls fusermount -u on the mount. This has the effect of
// shutting down the filesystem. After the Server is unmounted, it // shutting down the filesystem. After the Server is unmounted, it
// should be discarded. // should be discarded. This function is idempotent.
// //
// Does not work when we were mounted with the magic /dev/fd/N mountpoint syntax, // Does not work when we were mounted with the magic /dev/fd/N mountpoint syntax,
// as we do not know the real mountpoint. Unmount using // as we do not know the real mountpoint. Unmount using
// //
// fusermount -u /path/to/real/mountpoint // fusermount -u /path/to/real/mountpoint
// //
// / in this case. // in this case.
func (ms *Server) Unmount() (err error) { func (ms *Server) Unmount() (err error) {
if ms.mountPoint == "" { if ms.mountPoint == "" {
return nil return 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