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
9a7512aa
Commit
9a7512aa
authored
Aug 06, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved debug logging for unknownOp.
parent
5711e18b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
conversions.go
conversions.go
+2
-2
debug.go
debug.go
+3
-0
ops.go
ops.go
+2
-2
No files found.
conversions.go
View file @
9a7512aa
...
...
@@ -401,8 +401,8 @@ func convertInMessage(
default
:
o
=
&
unknownOp
{
o
pCode
:
inMsg
.
Header
()
.
Opcode
,
i
node
:
fuseops
.
InodeID
(
inMsg
.
Header
()
.
Nodeid
),
O
pCode
:
inMsg
.
Header
()
.
Opcode
,
I
node
:
fuseops
.
InodeID
(
inMsg
.
Header
()
.
Nodeid
),
}
}
...
...
debug.go
View file @
9a7512aa
...
...
@@ -50,6 +50,9 @@ func describeRequest(op interface{}) (s string) {
case
*
interruptOp
:
addComponent
(
"fuseid 0x%08x"
,
typed
.
FuseID
)
case
*
unknownOp
:
addComponent
(
"opcode %d"
,
typed
.
OpCode
)
case
*
fuseops
.
ReadFileOp
:
addComponent
(
"handle %d"
,
typed
.
Handle
)
addComponent
(
"offset %d"
,
typed
.
Offset
)
...
...
ops.go
View file @
9a7512aa
...
...
@@ -22,8 +22,8 @@ import (
// A sentinel used for unknown ops. The user is expected to respond with a
// non-nil error.
type
unknownOp
struct
{
o
pCode
uint32
i
node
fuseops
.
InodeID
O
pCode
uint32
I
node
fuseops
.
InodeID
}
// Required in order to mount on OS X.
...
...
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