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