Commit 50ab9a69 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Drop unused markUsed() in memunionfs.go.

parent ea5183e8
...@@ -613,16 +613,6 @@ func (me *memNode) Reap(path string, results map[string]*Result) { ...@@ -613,16 +613,6 @@ func (me *memNode) Reap(path string, results map[string]*Result) {
} }
} }
func (me *memNode) markUsed(seen map[string]bool) {
if me.backing != "" {
seen[me.backing] = true
}
for _, ch := range me.Inode().FsChildren() {
ch.FsNode().(*memNode).markUsed(seen)
}
}
func (me *memNode) Clear(path string) { func (me *memNode) Clear(path string) {
me.original = path me.original = path
me.changed = false me.changed = false
......
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