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
8c0aa859
Commit
8c0aa859
authored
Apr 06, 2019
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fuse: fix SupportsVersion
parent
882312bf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fuse/request_linux.go
fuse/request_linux.go
+1
-1
fuse/server.go
fuse/server.go
+1
-1
No files found.
fuse/request_linux.go
View file @
8c0aa859
...
...
@@ -9,5 +9,5 @@ const outputHeaderSize = 160
const
(
_FUSE_KERNEL_VERSION
=
7
_MINIMUM_MINOR_VERSION
=
12
_OUR_MINOR_VERSION
=
2
3
_OUR_MINOR_VERSION
=
2
8
)
fuse/server.go
View file @
8c0aa859
...
...
@@ -810,7 +810,7 @@ func (ms *Server) EntryNotify(parent uint64, name string) Status {
// SupportsVersion returns true if the kernel supports the given
// protocol version or newer.
func
(
in
*
InitIn
)
SupportsVersion
(
maj
,
min
uint32
)
bool
{
return
in
.
Major
>
=
maj
||
(
in
.
Major
==
maj
&&
in
.
Minor
>=
min
)
return
in
.
Major
>
maj
||
(
in
.
Major
==
maj
&&
in
.
Minor
>=
min
)
}
// SupportsNotify returns whether a certain notification type is
...
...
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