Commit 130d5381 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Print paths in debug mode for getOpenFileData()

parent f6ea556d
......@@ -660,7 +660,10 @@ func (me *FileSystemConnector) getOpenFileData(nodeid uint64, fh uint64) (f File
}
path, mount := node.GetPath()
if me.Debug {
log.Printf("Node %v = '%s'", nodeid, path)
}
// If the file was deleted, GetPath() will return nil.
if mount != nil {
m = mount
......
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