Commit 232d6405 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Drop obsolete TODOs.

parent c749c652
...@@ -219,7 +219,6 @@ func NewMountState(fs RawFileSystem) *MountState { ...@@ -219,7 +219,6 @@ func NewMountState(fs RawFileSystem) *MountState {
} }
// TODO - have more statistics.
func (me *MountState) Latencies() map[string]float64 { func (me *MountState) Latencies() map[string]float64 {
me.statisticsMutex.Lock() me.statisticsMutex.Lock()
defer me.statisticsMutex.Unlock() defer me.statisticsMutex.Unlock()
......
...@@ -183,7 +183,6 @@ func (me *LoopbackFile) Read(input *ReadIn, buffers *BufferPool) ([]byte, Status ...@@ -183,7 +183,6 @@ func (me *LoopbackFile) Read(input *ReadIn, buffers *BufferPool) ([]byte, Status
n, err := me.file.ReadAt(slice, int64(input.Offset)) n, err := me.file.ReadAt(slice, int64(input.Offset))
if err == os.EOF { if err == os.EOF {
// TODO - how to signal EOF?
return slice[:n], OK return slice[:n], OK
} }
return slice[:n], OsErrorToFuseError(err) return slice[:n], OsErrorToFuseError(err)
......
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