From 2f98fdd29d7a8161df39e987093abcc0b01a39ce Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Mon, 2 Mar 2015 14:17:52 +1100 Subject: [PATCH] Added a TODO. --- samples/memfs/inode.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/memfs/inode.go b/samples/memfs/inode.go index 70c6f0c..91cad95 100644 --- a/samples/memfs/inode.go +++ b/samples/memfs/inode.go @@ -4,6 +4,10 @@ package memfs // Common attributes for files and directories. +// +// TODO(jacobsa): Add tests for interacting with a file/directory after it has +// been unlinked, including creating a new file. Make sure we don't screw up +// and reuse the inode while it is still in use. type inode struct { // The *memFile or *memDir for this inode, or nil if the inode is available // for reuse.