Commit 675bdda5 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Remove the 0xdeadbeef marker to be more lenient for programming

errors.
parent 6323032a
......@@ -140,7 +140,6 @@ func (me *FileSystemConnector) considerDropInode(n *Inode) (drop bool) {
panic(fmt.Sprintf("trying to del child %q, but not present", k))
}
me.inodeMap.Forget(ch.nodeId)
ch.nodeId = 0xdeadbeef
}
if len(n.children) > 0 || n.lookupCount > 0 {
......
......@@ -154,7 +154,6 @@ func (me *int64HandleMap) Forget(handle uint64) (val *Handled) {
me.mutex.Lock()
defer me.mutex.Unlock()
val.check = 0xdeadbeef
me.handles[handle] = nil, false
return val
}
......
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