gvisor/pkg/p9
Michael Pratt c0317b28cb Update pathNode documentation to reflect reality
Neither fidRefs or children are (directly) synchronized by mu. Remove
the preconditions that say so.

That said, the surrounding does enforce some synchronization guarantees
(e.g., fidRef.renameChildTo does not atomically replace the child in the
maps). I've tried to note the need for callers to do this
synchronization.

I've also renamed the maps to what are (IMO) clearer names. As is, it is
not obvious that pathNode.fidRefs is a map of *child* fidRefs rather
than self fidRefs.

PiperOrigin-RevId: 254446965
2019-06-21 12:26:42 -07:00
..
local_server Update canonical repository. 2019-06-13 16:50:15 -07:00
p9test Add renamed children pathNodes to target parent 2019-06-19 13:41:07 -07:00
BUILD Update canonical repository. 2019-06-13 16:50:15 -07:00
buffer.go Reduce memory allocations on serving path 2019-04-29 15:33:47 -07:00
buffer_test.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
client.go Update canonical repository. 2019-06-13 16:50:15 -07:00
client_file.go Update canonical repository. 2019-06-13 16:50:15 -07:00
client_test.go Update canonical repository. 2019-06-13 16:50:15 -07:00
file.go Update canonical repository. 2019-06-13 16:50:15 -07:00
handlers.go Update pathNode documentation to reflect reality 2019-06-21 12:26:42 -07:00
messages.go Update canonical repository. 2019-06-13 16:50:15 -07:00
messages_test.go Forward named pipe creation to the gofer 2019-05-20 16:53:08 -07:00
p9.go Implement fallocate(2) 2019-05-09 15:35:49 -07:00
p9_test.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
path_tree.go Update pathNode documentation to reflect reality 2019-06-21 12:26:42 -07:00
pool.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
pool_test.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
server.go Update pathNode documentation to reflect reality 2019-06-21 12:26:42 -07:00
transport.go Update canonical repository. 2019-06-13 16:50:15 -07:00
transport_test.go Update canonical repository. 2019-06-13 16:50:15 -07:00
version.go Implement fallocate(2) 2019-05-09 15:35:49 -07:00
version_test.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00