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
c0804378
Commit
c0804378
authored
Jul 29, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed conversions.go.
parent
f5d80cf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
conversions.go
conversions.go
+4
-4
No files found.
conversions.go
View file @
c0804378
...
...
@@ -252,7 +252,7 @@ func convertInMessage(
Inode
:
fuseops
.
InodeID
(
m
.
Header
()
.
Nodeid
),
Handle
:
fuseops
.
HandleID
(
in
.
Fh
),
Offset
:
int64
(
in
.
Offset
),
Size
:
int
(
in
.
Size
),
Dst
:
make
([]
byte
,
in
.
Size
),
}
case
fusekernel
.
OpReaddir
:
...
...
@@ -266,7 +266,7 @@ func convertInMessage(
Inode
:
fuseops
.
InodeID
(
m
.
Header
()
.
Nodeid
),
Handle
:
fuseops
.
HandleID
(
in
.
Fh
),
Offset
:
fuseops
.
DirOffset
(
in
.
Offset
),
Size
:
int
(
in
.
Size
),
Dst
:
make
([]
byte
,
in
.
Size
),
}
case
fusekernel
.
OpRelease
:
...
...
@@ -486,7 +486,7 @@ func (c *Connection) kernelResponseForOp(
case
*
fuseops
.
ReadDirOp
:
m
=
c
.
getOutMessage
()
m
.
Append
(
o
.
D
ata
)
m
.
Append
(
o
.
D
st
[
:
o
.
BytesRead
]
)
case
*
fuseops
.
ReleaseDirHandleOp
:
m
=
c
.
getOutMessage
()
...
...
@@ -498,7 +498,7 @@ func (c *Connection) kernelResponseForOp(
case
*
fuseops
.
ReadFileOp
:
m
=
c
.
getOutMessage
()
m
.
Append
(
o
.
D
ata
)
m
.
Append
(
o
.
D
st
[
:
o
.
BytesRead
]
)
case
*
fuseops
.
WriteFileOp
:
m
=
c
.
getOutMessage
()
...
...
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