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
4275c93d
Commit
4275c93d
authored
Jul 07, 2013
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fuse: tweak some comments.
parent
1bcdf26c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
fuse/api.go
fuse/api.go
+3
-11
fuse/types.go
fuse/types.go
+1
-0
No files found.
fuse/api.go
View file @
4275c93d
...
@@ -126,16 +126,8 @@ type RawFileSystem interface {
...
@@ -126,16 +126,8 @@ type RawFileSystem interface {
//
//
StatFs
(
out
*
raw
.
StatfsOut
,
context
*
Context
)
(
code
Status
)
StatFs
(
out
*
raw
.
StatfsOut
,
context
*
Context
)
(
code
Status
)
// This is called on processing the first request. Th
is call
// This is called on processing the first request. Th
e
//
is intended so the filesystem can talk back to the kernel
//
filesystem implementation can use the server argument to
//
(through notify methods) and has access to debug data
.
//
talk back to the kernel (through notify methods)
.
Init
(
*
Server
)
Init
(
*
Server
)
}
}
// Talk back to FUSE.
//
//
//
// Somewhat confusingly, InodeNotify for a file that stopped to exist
// will give the correct result for Lstat (ENOENT), but the kernel
// will still issue file Open() on the inode.
fuse/types.go
View file @
4275c93d
...
@@ -21,6 +21,7 @@ const (
...
@@ -21,6 +21,7 @@ const (
_DEFAULT_BACKGROUND_TASKS
=
12
_DEFAULT_BACKGROUND_TASKS
=
12
)
)
// Status is the errno number that a FUSE call returns to the kernel.
type
Status
int32
type
Status
int32
const
(
const
(
...
...
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