Commit 95dc9dab authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Some more diagnostics for EIO in Rename/Symlink.

parent 18fb91d8
......@@ -233,6 +233,7 @@ func doSymlink(state *MountState, req *request) {
req.status = s
req.outData = unsafe.Pointer(entryOut)
} else {
log.Println("Symlink: missing arguments", filenames)
req.status = EIO
}
}
......@@ -242,6 +243,7 @@ func doRename(state *MountState, req *request) {
if len(filenames) >= 2 {
req.status = state.fileSystem.Rename(req.inHeader, (*RenameIn)(req.inData), filenames[0], filenames[1])
} else {
log.Println("Rename: missing arguments", filenames)
req.status = EIO
}
}
......
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