Commit 80049101 authored by Ivan Krasin's avatar Ivan Krasin

Return ENOSYS on unsupported opcode, not EIO

parent adb311bb
......@@ -89,7 +89,7 @@ func dispatch(fs FileSystem, in_data []byte, c *managerClient, toW chan [][]byte
out, err = releaseDir(h, r, c)
default:
errors <- os.NewError(fmt.Sprintf("Unsupported OpCode: %d", h.Opcode))
out, err = serialize(h, EIO, nil)
out, err = serialize(h, ENOSYS, nil)
}
if err != nil {
errors <- err
......
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