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
8f0f5c3f
Commit
8f0f5c3f
authored
Dec 12, 2018
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define EREMOTEIO as linux specific errno code
parent
5bb69a7d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
fuse/types.go
fuse/types.go
+1
-4
fuse/types_darwin.go
fuse/types_darwin.go
+3
-0
fuse/types_linux.go
fuse/types_linux.go
+3
-0
No files found.
fuse/types.go
View file @
8f0f5c3f
...
@@ -34,9 +34,6 @@ const (
...
@@ -34,9 +34,6 @@ const (
// EIO I/O error
// EIO I/O error
EIO
=
Status
(
syscall
.
EIO
)
EIO
=
Status
(
syscall
.
EIO
)
// EREMOTEIO Remote I/O error
EREMOTEIO
=
Status
(
syscall
.
EREMOTEIO
)
// ENOENT No such file or directory
// ENOENT No such file or directory
ENOENT
=
Status
(
syscall
.
ENOENT
)
ENOENT
=
Status
(
syscall
.
ENOENT
)
...
@@ -395,7 +392,7 @@ const (
...
@@ -395,7 +392,7 @@ const (
NOTIFY_INVAL_ENTRY
=
-
3
// notify kernel that a directory entry should be invalidated
NOTIFY_INVAL_ENTRY
=
-
3
// notify kernel that a directory entry should be invalidated
NOTIFY_STORE_CACHE
=
-
4
// store data into kernel cache of an inode
NOTIFY_STORE_CACHE
=
-
4
// store data into kernel cache of an inode
// NOTIFY_RETRIEVE_CACHE = -5 // retrieve data from kernel cache of an inode
// NOTIFY_RETRIEVE_CACHE = -5 // retrieve data from kernel cache of an inode
NOTIFY_DELETE
=
-
6
// notify kernel that a directory entry has been deleted
NOTIFY_DELETE
=
-
6
// notify kernel that a directory entry has been deleted
// NOTIFY_CODE_MAX = -6
// NOTIFY_CODE_MAX = -6
)
)
...
...
fuse/types_darwin.go
View file @
8f0f5c3f
...
@@ -10,6 +10,9 @@ import (
...
@@ -10,6 +10,9 @@ import (
const
(
const
(
ENOATTR
=
Status
(
syscall
.
ENOATTR
)
// ENOATTR is not defined for all GOOS.
ENOATTR
=
Status
(
syscall
.
ENOATTR
)
// ENOATTR is not defined for all GOOS.
// EREMOTEIO is not supported on Darwin.
EREMOTEIO
=
Status
(
syscall
.
EIO
)
)
)
type
Attr
struct
{
type
Attr
struct
{
...
...
fuse/types_linux.go
View file @
8f0f5c3f
...
@@ -10,6 +10,9 @@ import (
...
@@ -10,6 +10,9 @@ import (
const
(
const
(
ENOATTR
=
Status
(
syscall
.
ENODATA
)
// On Linux, ENOATTR is an alias for ENODATA.
ENOATTR
=
Status
(
syscall
.
ENODATA
)
// On Linux, ENOATTR is an alias for ENODATA.
// EREMOTEIO Remote I/O error
EREMOTEIO
=
Status
(
syscall
.
EREMOTEIO
)
)
)
type
Attr
struct
{
type
Attr
struct
{
...
...
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