Commit efb4ad35 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Drop non functioning ioctl and fsyncdir support.

parent d0d764dd
......@@ -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 {
......
......@@ -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()
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment