Commit 9dcbb223 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

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

parent e5113871
...@@ -483,7 +483,7 @@ func (ms *Server) allocOut(req *request, size uint32) []byte { ...@@ -483,7 +483,7 @@ func (ms *Server) allocOut(req *request, size uint32) []byte {
func (ms *Server) write(req *request) Status { func (ms *Server) write(req *request) Status {
// Forget/NotifyReply do not wait for reply from filesystem server. // Forget/NotifyReply do not wait for reply from filesystem server.
switch req.inHeader.Opcode { switch req.inHeader.Opcode {
case _OP_FORGET, _OP_BATCH_FORGET, _OP_NOTIFY_REPLY: case _OP_FORGET, _OP_BATCH_FORGET, _OP_NOTIFY_REPLY, _OP_RELEASE, _OP_RELEASEDIR:
return OK return OK
case _OP_INTERRUPT: case _OP_INTERRUPT:
if req.status.Ok() { 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