From 0d7c207f85daae68ff4bbf933fd9a53d6f380944 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Mon, 2 Mar 2015 14:16:17 +1100 Subject: [PATCH] Added a TODO. --- samples/memfs/dir.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/samples/memfs/dir.go b/samples/memfs/dir.go index 073c490..7e59984 100644 --- a/samples/memfs/dir.go +++ b/samples/memfs/dir.go @@ -28,5 +28,8 @@ type memDir struct { // we use its indices for Dirent.Offset, which is exposed to the user who // might be calling readdir in a loop while concurrently modifying the // directory. Unused entries can, however, be reused. + // + // TODO(jacobsa): Add good tests exercising concurrent modifications while + // doing readdir, seekdir, etc. calls. entries []fuseutil.Dirent }