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
b8d3dfd5
Commit
b8d3dfd5
authored
Jul 24, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed statfs and interrupt.
parent
35021f0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
connection.go
connection.go
+4
-5
No files found.
connection.go
View file @
b8d3dfd5
...
...
@@ -266,15 +266,14 @@ func (c *Connection) ReadOp() (op fuseops.Op, err error) {
// Special case: responding to statfs is required to make mounting work on
// OS X. We don't currently expose the capability for the file system to
// intercept this.
if
statfsReq
,
ok
:=
bfReq
.
(
*
fuseshim
.
StatfsRequest
);
ok
{
c
.
debugLog
(
opID
,
1
,
"-> (Statfs) OK"
)
statfsReq
.
Respond
(
&
fuseshim
.
StatfsResponse
{})
if
_
,
ok
:=
op
.
(
*
fuseops
.
InternalStatFSOp
);
ok
{
op
.
Respond
(
nil
)
continue
}
// Special case: handle interrupt requests.
if
interrupt
Req
,
ok
:=
bfReq
.
(
*
fuseshim
.
InterruptRequest
);
ok
{
c
.
handleInterrupt
(
interrupt
Req
)
if
interrupt
Op
,
ok
:=
op
.
(
*
fuseops
.
InternalInterruptOp
);
ok
{
c
.
handleInterrupt
(
interrupt
Op
.
FuseID
)
continue
}
...
...
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