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
efb4ad35
Commit
efb4ad35
authored
Sep 05, 2011
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop non functioning ioctl and fsyncdir support.
parent
d0d764dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
fuse/api.go
fuse/api.go
+0
-1
fuse/pathops.go
fuse/pathops.go
+0
-10
No files found.
fuse/api.go
View file @
efb4ad35
...
...
@@ -85,7 +85,6 @@ type File interface {
Flush
()
Status
Release
()
Fsync
(
*
FsyncIn
)
(
code
Status
)
Ioctl
(
input
*
IoctlIn
)
(
output
*
IoctlOut
,
data
[]
byte
,
code
Status
)
}
type
WithFlags
struct
{
...
...
fuse/pathops.go
View file @
efb4ad35
...
...
@@ -324,11 +324,6 @@ func (me *FileSystemConnector) ReleaseDir(header *InHeader, input *ReleaseIn) {
me
.
considerDropInode
(
node
)
}
func
(
me
*
FileSystemConnector
)
FsyncDir
(
header
*
InHeader
,
input
*
FsyncIn
)
(
code
Status
)
{
// What the heck is FsyncDir supposed to do?
return
OK
}
func
(
me
*
FileSystemConnector
)
GetXAttr
(
header
*
InHeader
,
attribute
string
)
(
data
[]
byte
,
code
Status
)
{
node
:=
me
.
getInodeData
(
header
.
NodeId
)
return
node
.
fsInode
.
GetXAttr
(
attribute
,
&
header
.
Context
)
...
...
@@ -373,11 +368,6 @@ func (me *FileSystemConnector) Read(input *ReadIn, bp BufferPool) ([]byte, Statu
return
opened
.
file
.
Read
(
input
,
bp
)
}
func
(
me
*
FileSystemConnector
)
Ioctl
(
header
*
InHeader
,
input
*
IoctlIn
)
(
out
*
IoctlOut
,
data
[]
byte
,
code
Status
)
{
opened
:=
me
.
getOpenedFile
(
input
.
Fh
)
return
opened
.
file
.
Ioctl
(
input
)
}
func
(
me
*
FileSystemConnector
)
StatFs
()
*
StatfsOut
{
return
me
.
rootNode
.
mountPoint
.
fs
.
StatFs
()
}
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