Commit 3c5cacc1 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Nitpick.

parent 0dca6c43
...@@ -80,7 +80,6 @@ func (me *BufferPool) addBuffer(slice []byte, exp uint) { ...@@ -80,7 +80,6 @@ func (me *BufferPool) addBuffer(slice []byte, exp uint) {
me.buffersByExponent[exp] = append(me.buffersByExponent[exp], slice) me.buffersByExponent[exp] = append(me.buffersByExponent[exp], slice)
} }
func (me *BufferPool) AllocBuffer(size uint32) []byte { func (me *BufferPool) AllocBuffer(size uint32) []byte {
sz := int(size) sz := int(size)
if sz < PAGESIZE { if sz < PAGESIZE {
......
...@@ -136,8 +136,7 @@ func (me *MountState) OperationCounts() map[string]int { ...@@ -136,8 +136,7 @@ func (me *MountState) OperationCounts() map[string]int {
} }
func (me *MountState) BufferPoolStats() string { func (me *MountState) BufferPoolStats() string {
return fmt.Sprintf("buffers %v", return me.buffers.String()
me.buffers.String())
} }
//////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////
......
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