It seems the write returns errors as a matter of course when unmounting.
parent
20a01b67ef
commit
ef3d11e2b1
|
@ -480,7 +480,10 @@ func (c *Connection) Reply(ctx context.Context, opErr error) {
|
||||||
// Send the reply to the kernel.
|
// Send the reply to the kernel.
|
||||||
replyMsg := kernelResponse(m.Header().Unique, op, opErr, c.protocol)
|
replyMsg := kernelResponse(m.Header().Unique, op, opErr, c.protocol)
|
||||||
if err := c.writeMessage(replyMsg); err != nil {
|
if err := c.writeMessage(replyMsg); err != nil {
|
||||||
log.Fatalf("writeMessage: %v", err)
|
if c.errorLogger != nil {
|
||||||
|
c.errorLogger.Printf("writeMessage: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue