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
224614e9
Commit
224614e9
authored
Mar 24, 2011
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gofmt.
parent
52ac4a21
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
83 deletions
+84
-83
fuse/direntry.go
fuse/direntry.go
+4
-4
fuse/fuse.go
fuse/fuse.go
+1
-1
fuse/misc.go
fuse/misc.go
+79
-78
No files found.
fuse/direntry.go
View file @
224614e9
fuse/fuse.go
View file @
224614e9
...
...
@@ -531,7 +531,7 @@ func serialize(req *fuseRequest, debug bool) {
sizeOfOutHeader
:=
unsafe
.
Sizeof
(
OutHeader
{})
req
.
outHeaderBytes
=
make
([]
byte
,
sizeOfOutHeader
+
dataLength
)
req
.
outHeaderBytes
=
make
([]
byte
,
sizeOfOutHeader
+
dataLength
)
outHeader
:=
(
*
OutHeader
)(
unsafe
.
Pointer
(
&
req
.
outHeaderBytes
[
0
]))
outHeader
.
Unique
=
req
.
inHeader
.
Unique
outHeader
.
Status
=
-
req
.
status
...
...
fuse/misc.go
View file @
224614e9
...
...
@@ -258,6 +258,7 @@ func MyPID() string {
var
inputSizeMap
map
[
int
]
int
var
outputSizeMap
map
[
int
]
int
func
init
()
{
inputSizeMap
=
map
[
int
]
int
{
FUSE_LOOKUP
:
0
,
...
...
@@ -300,7 +301,7 @@ func init() {
FUSE_POLL
:
unsafe
.
Sizeof
(
PollIn
{}),
}
outputSizeMap
=
map
[
int
]
int
{
outputSizeMap
=
map
[
int
]
int
{
FUSE_LOOKUP
:
unsafe
.
Sizeof
(
EntryOut
{}),
FUSE_FORGET
:
0
,
FUSE_GETATTR
:
unsafe
.
Sizeof
(
AttrOut
{}),
...
...
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