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

Add doIoctl() back to quench "not implemented" messages.

parent 5951e85e
...@@ -321,6 +321,10 @@ func doStatFs(state *MountState, req *request) { ...@@ -321,6 +321,10 @@ func doStatFs(state *MountState, req *request) {
req.status = state.fileSystem.StatFs(stat, req.inHeader) req.status = state.fileSystem.StatFs(stat, req.inHeader)
} }
func doIoctl(state *MountState, req *request) {
req.status = ENOSYS
}
//////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////
type operationFunc func(*MountState, *request) type operationFunc func(*MountState, *request)
...@@ -501,6 +505,7 @@ func init() { ...@@ -501,6 +505,7 @@ func init() {
_OP_SYMLINK: doSymlink, _OP_SYMLINK: doSymlink,
_OP_RENAME: doRename, _OP_RENAME: doRename,
_OP_STATFS: doStatFs, _OP_STATFS: doStatFs,
_OP_IOCTL: doIoctl,
} { } {
operationHandlers[op].Func = v operationHandlers[op].Func = v
} }
......
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