Commit 0074c951 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Revert "fuse: don't try to write RELEASE/RELEASEDIR reply"

This reverts commit 9dcbb223.

Even though RELEASE is similar to FORGET, it must report back, or
tests will hang.
parent 9dcbb223
......@@ -483,7 +483,7 @@ func (ms *Server) allocOut(req *request, size uint32) []byte {
func (ms *Server) write(req *request) Status {
// Forget/NotifyReply do not wait for reply from filesystem server.
switch req.inHeader.Opcode {
case _OP_FORGET, _OP_BATCH_FORGET, _OP_NOTIFY_REPLY, _OP_RELEASE, _OP_RELEASEDIR:
case _OP_FORGET, _OP_BATCH_FORGET, _OP_NOTIFY_REPLY:
return OK
case _OP_INTERRUPT:
if req.status.Ok() {
......
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