Commit 622d7a17 authored by Aaron Jacobs's avatar Aaron Jacobs

Preserve the offset invariant.

parent 400d74db
......@@ -192,6 +192,7 @@ func (inode *inode) RemoveChild(name string) {
// Mark it as unused.
inode.entries[i] = fuseutil.Dirent{
Type: fuseutil.DT_Unknown,
Offset: fuse.DirOffset(i + 1),
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment