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
0d6f57fc
Commit
0d6f57fc
authored
Oct 07, 2013
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fuse: fix bug in wrappingFS, and add test coverage.
parent
073e2885
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
fuse/test/loopback_test.go
fuse/test/loopback_test.go
+1
-1
fuse/upgrade.go
fuse/upgrade.go
+1
-2
No files found.
fuse/test/loopback_test.go
View file @
0d6f57fc
...
...
@@ -78,7 +78,7 @@ func NewTestCase(t *testing.T) *testCase {
})
me
.
connector
.
SetDebug
(
VerboseTest
())
me
.
state
,
err
=
fuse
.
NewServer
(
me
.
connector
.
RawFS
(
),
me
.
mnt
,
&
fuse
.
MountOptions
{
SingleThreaded
:
true
})
fuse
.
NewRawFileSystem
(
me
.
connector
.
RawFS
()
),
me
.
mnt
,
&
fuse
.
MountOptions
{
SingleThreaded
:
true
})
if
err
!=
nil
{
t
.
Fatal
(
"NewServer:"
,
err
)
}
...
...
fuse/upgrade.go
View file @
0d6f57fc
...
...
@@ -58,7 +58,6 @@ func (fs *wrappingFS) Forget(nodeID, nlookup uint64) {
});
ok
{
s
.
Forget
(
nodeID
,
nlookup
)
}
return
}
func
(
fs
*
wrappingFS
)
GetAttr
(
input
*
GetAttrIn
,
out
*
AttrOut
)
(
code
Status
)
{
...
...
@@ -76,7 +75,7 @@ func (fs *wrappingFS) Open(input *OpenIn, out *OpenOut) (status Status) {
});
ok
{
return
s
.
Open
(
input
,
out
)
}
return
OK
return
ENOSYS
}
func
(
fs
*
wrappingFS
)
SetAttr
(
input
*
SetAttrIn
,
out
*
AttrOut
)
(
code
Status
)
{
...
...
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