Commit 7a5761a6 authored by Aaron Jacobs's avatar Aaron Jacobs

Fixed some TODOs.

parent f2e8a5d8
...@@ -204,11 +204,13 @@ func (c *Connection) handleInterrupt(fuseID uint64) { ...@@ -204,11 +204,13 @@ func (c *Connection) handleInterrupt(fuseID uint64) {
} }
func (c *Connection) allocateInMessage() (m *buffer.InMessage) { func (c *Connection) allocateInMessage() (m *buffer.InMessage) {
panic("TODO") // TODO(jacobsa): Use a freelist.
m = new(buffer.InMessage)
return
} }
func (c *Connection) destroyInMessage(m *buffer.InMessage) { func (c *Connection) destroyInMessage(m *buffer.InMessage) {
panic("TODO") // TODO(jacobsa): Use a freelist.
} }
// Read the next message from the kernel. The message must later be destroyed // Read the next message from the kernel. The message must later be destroyed
......
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