• Han-Wen Nienhuys's avatar
    fs: return children in insertion order · 0b3e1fde
    Han-Wen Nienhuys authored
    Keep children in a slice of {name,*Inode} tuples, separately indexed
    by a string map.
    
    This ensures that we can return the children in insertion order. This
    fixes #476 and #391, and opens the road to NFS-compatible readdir
    cookies.
    
    Change-Id: I79b3483f4b12e67b63543da1294f725029a9139a
    0b3e1fde
inode_children.go 2.86 KB