Commit f6be67e0 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Nitpick.

parent 9972ff86
......@@ -90,8 +90,7 @@ func (me *FileSystemConnector) Unmount(path string) Status {
// don't use defer: we don't want to call out to
// mount.fs.Unmount() with lock held.
ownMount := 1
isBusy := unmountError == OK && node.totalOpenCount() > ownMount
if isBusy {
if unmountError == OK && node.totalOpenCount() > ownMount {
unmountError = EBUSY
}
......
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