Fixed some TODOs.

geesefs-0-30-9
Aaron Jacobs 2015-07-24 15:05:27 +10:00
parent f2e8a5d806
commit 7a5761a67c
1 changed files with 4 additions and 2 deletions

View File

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