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
Kirill Smelkov
go-fuse
Commits
2d84dd32
Commit
2d84dd32
authored
Mar 25, 2011
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update comments
parent
e37d7326
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
fuse/fuse.go
fuse/fuse.go
+2
-3
fuse/pathfilesystem.go
fuse/pathfilesystem.go
+0
-2
No files found.
fuse/fuse.go
View file @
2d84dd32
...
...
@@ -77,7 +77,7 @@ type MountState struct {
// Dump debug info onto stdout.
Debug
bool
// For efficient reads.
// For efficient reads
and writes
.
buffers
*
BufferPool
statisticsMutex
sync
.
Mutex
...
...
@@ -133,8 +133,7 @@ func (me *MountState) UnregisterDir(handle uint64) {
// Mount filesystem on mountPoint.
//
// If threaded is set, each filesystem operation executes in a
// separate goroutine, and errors and writes are done asynchronously
// using channels.
// separate goroutine.
//
// TODO - error handling should perhaps be user-serviceable.
func
(
me
*
MountState
)
Mount
(
mountPoint
string
)
os
.
Error
{
...
...
fuse/pathfilesystem.go
View file @
2d84dd32
...
...
@@ -23,8 +23,6 @@ type mountData struct {
openCount
int
}
// TODO - should we call async or not? what is the goroutine creation
// overhead vs. lock acquisition.
func
(
me
*
mountData
)
incOpenCount
(
delta
int
)
{
me
.
mutex
.
Lock
()
defer
me
.
mutex
.
Unlock
()
...
...
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