Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Levin Zimmermann
go-fuse
Commits
ac3dcb75
Commit
ac3dcb75
authored
Jul 31, 2016
by
Adam H. Leventhal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix spurious failures due to unexpected mountFd closure
parent
547ec86c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
fuse/mount_darwin.go
fuse/mount_darwin.go
+4
-1
No files found.
fuse/mount_darwin.go
View file @
ac3dcb75
...
@@ -61,7 +61,10 @@ func mount(mountPoint string, opts *MountOptions, ready chan<- error) (fd int, e
...
@@ -61,7 +61,10 @@ func mount(mountPoint string, opts *MountOptions, ready chan<- error) (fd int, e
ready
<-
err
ready
<-
err
close
(
ready
)
close
(
ready
)
}()
}()
return
int
(
f
.
Fd
()),
nil
// The finalizer for f will close its fd so we return a dup.
defer
f
.
Close
()
return
syscall
.
Dup
(
int
(
f
.
Fd
()))
}
}
func
unmount
(
dir
string
)
error
{
func
unmount
(
dir
string
)
error
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment