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
2e2e959a
Commit
2e2e959a
authored
Sep 05, 2011
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix FileSystemConnector debug in examples.
parent
90b39a3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
example/loopback/loopback.go
example/loopback/loopback.go
+0
-1
example/zipfs/main.go
example/zipfs/main.go
+1
-2
No files found.
example/loopback/loopback.go
View file @
2e2e959a
...
...
@@ -66,7 +66,6 @@ func main() {
if
*
latencies
{
state
.
SetRecordStatistics
(
true
)
debugFs
.
AddMountState
(
state
)
debugFs
.
AddFileSystemConnector
(
conn
)
}
mountPoint
:=
flag
.
Arg
(
0
)
...
...
example/zipfs/main.go
View file @
2e2e959a
...
...
@@ -35,14 +35,13 @@ func main() {
fs
=
debugFs
}
state
,
conn
,
err
:=
fuse
.
MountFileSystem
(
flag
.
Arg
(
0
),
fs
,
nil
)
state
,
_
,
err
:=
fuse
.
MountFileSystem
(
flag
.
Arg
(
0
),
fs
,
nil
)
if
err
!=
nil
{
fmt
.
Printf
(
"Mount fail: %v
\n
"
,
err
)
os
.
Exit
(
1
)
}
if
*
latencies
{
debugFs
.
AddFileSystemConnector
(
conn
)
debugFs
.
AddMountState
(
state
)
}
...
...
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