Commit f6ea556d authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Print paths in debug mode for LOOKUP as well, to make sense of

negative lookups.
parent 0ebbc3a5
......@@ -37,6 +37,9 @@ func (me *fileSystemMount) setOwner(attr *Attr) {
func (me *FileSystemConnector) Lookup(header *InHeader, name string) (out *EntryOut, status Status) {
parent := me.getInodeData(header.NodeId)
if me.Debug {
log.Printf("Node %v = '%s'", parent.NodeId, parent.GetFullPath())
}
return me.internalLookup(parent, name, 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