Commit e53af11f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9233294f
......@@ -1940,7 +1940,6 @@ func (root *Root) lookup(name string, fctx *fuse.Context) (_ *Head, err error) {
return revDir, nil
}
// XXX -> newHead()
revDir = &Head{
fsNode: newFSNode(&fsOptions{Sticky: false}), // XXX + Head.OnForget() -> del root.revTab[]
rev: rev,
......@@ -2201,7 +2200,6 @@ func main() {
zhead.Cache().Unlock()
// mount root + head/
// XXX -> newHead()
head := &Head{
fsNode: newFSNode(fSticky),
rev: 0,
......
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