Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jacobsa-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
jacobsa-fuse
Commits
57b4e879
Commit
57b4e879
authored
Sep 09, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed other tests on OS X.
parent
be680e18
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
42 additions
and
0 deletions
+42
-0
samples/cachingfs/caching_fs.go
samples/cachingfs/caching_fs.go
+6
-0
samples/errorfs/error_fs.go
samples/errorfs/error_fs.go
+6
-0
samples/flushfs/flush_fs.go
samples/flushfs/flush_fs.go
+6
-0
samples/forgetfs/forget_fs.go
samples/forgetfs/forget_fs.go
+6
-0
samples/hellofs/hello_fs.go
samples/hellofs/hello_fs.go
+6
-0
samples/interruptfs/interrupt_fs.go
samples/interruptfs/interrupt_fs.go
+6
-0
samples/memfs/memfs.go
samples/memfs/memfs.go
+6
-0
No files found.
samples/cachingfs/caching_fs.go
View file @
57b4e879
...
...
@@ -261,6 +261,12 @@ func (fs *cachingFS) SetKeepCache(keep bool) {
// FileSystem methods
////////////////////////////////////////////////////////////////////////
func
(
fs
*
cachingFS
)
StatFS
(
ctx
context
.
Context
,
op
*
fuseops
.
StatFSOp
)
(
err
error
)
{
return
}
// LOCKS_EXCLUDED(fs.mu)
func
(
fs
*
cachingFS
)
LookUpInode
(
ctx
context
.
Context
,
...
...
samples/errorfs/error_fs.go
View file @
57b4e879
...
...
@@ -119,6 +119,12 @@ func (fs *errorFS) GetInodeAttributes(
return
}
func
(
fs
*
errorFS
)
StatFS
(
ctx
context
.
Context
,
op
*
fuseops
.
StatFSOp
)
(
err
error
)
{
return
}
// LOCKS_EXCLUDED(fs.mu)
func
(
fs
*
errorFS
)
LookUpInode
(
ctx
context
.
Context
,
...
...
samples/flushfs/flush_fs.go
View file @
57b4e879
...
...
@@ -117,6 +117,12 @@ func (fs *flushFS) getAttributes(id fuseops.InodeID) (
// FileSystem methods
////////////////////////////////////////////////////////////////////////
func
(
fs
*
flushFS
)
StatFS
(
ctx
context
.
Context
,
op
*
fuseops
.
StatFSOp
)
(
err
error
)
{
return
}
func
(
fs
*
flushFS
)
LookUpInode
(
ctx
context
.
Context
,
op
*
fuseops
.
LookUpInodeOp
)
(
err
error
)
{
...
...
samples/forgetfs/forget_fs.go
View file @
57b4e879
...
...
@@ -224,6 +224,12 @@ func (fs *fsImpl) findInodeByID(id fuseops.InodeID) (in *inode) {
// FileSystem methods
////////////////////////////////////////////////////////////////////////
func
(
fs
*
fsImpl
)
StatFS
(
ctx
context
.
Context
,
op
*
fuseops
.
StatFSOp
)
(
err
error
)
{
return
}
func
(
fs
*
fsImpl
)
LookUpInode
(
ctx
context
.
Context
,
op
*
fuseops
.
LookUpInodeOp
)
(
err
error
)
{
...
...
samples/hellofs/hello_fs.go
View file @
57b4e879
...
...
@@ -149,6 +149,12 @@ func (fs *helloFS) patchAttributes(
attr
.
Crtime
=
now
}
func
(
fs
*
helloFS
)
StatFS
(
ctx
context
.
Context
,
op
*
fuseops
.
StatFSOp
)
(
err
error
)
{
return
}
func
(
fs
*
helloFS
)
LookUpInode
(
ctx
context
.
Context
,
op
*
fuseops
.
LookUpInodeOp
)
(
err
error
)
{
...
...
samples/interruptfs/interrupt_fs.go
View file @
57b4e879
...
...
@@ -100,6 +100,12 @@ func (fs *InterruptFS) EnableFlushBlocking() {
// FileSystem methods
////////////////////////////////////////////////////////////////////////
func
(
fs
*
InterruptFS
)
StatFS
(
ctx
context
.
Context
,
op
*
fuseops
.
StatFSOp
)
(
err
error
)
{
return
}
func
(
fs
*
InterruptFS
)
LookUpInode
(
ctx
context
.
Context
,
op
*
fuseops
.
LookUpInodeOp
)
(
err
error
)
{
...
...
samples/memfs/memfs.go
View file @
57b4e879
...
...
@@ -184,6 +184,12 @@ func (fs *memFS) deallocateInode(id fuseops.InodeID) {
// FileSystem methods
////////////////////////////////////////////////////////////////////////
func
(
fs
*
memFS
)
StatFS
(
ctx
context
.
Context
,
op
*
fuseops
.
StatFSOp
)
(
err
error
)
{
return
}
func
(
fs
*
memFS
)
LookUpInode
(
ctx
context
.
Context
,
op
*
fuseops
.
LookUpInodeOp
)
(
err
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