Removed some TODOs that have been done.

geesefs-0-30-9
Aaron Jacobs 2015-03-06 06:09:42 +11:00
parent 02803ae811
commit 978c353cf7
1 changed files with 0 additions and 4 deletions

View File

@ -493,8 +493,6 @@ func (fs *memFS) ReadFile(
defer inode.mu.RUnlock()
// Serve the request.
//
// TODO(jacobsa): Add tests involving EOF matching posix_test.go.
resp.Data = make([]byte, req.Size)
n, err := inode.ReadAt(resp.Data, req.Offset)
resp.Data = resp.Data[:n]
@ -515,8 +513,6 @@ func (fs *memFS) WriteFile(
defer inode.mu.Unlock()
// Serve the request.
//
// TODO(jacobsa): Add tests involving EOF matching posix_test.go.
_, err = inode.WriteAt(req.Data, req.Offset)
return