Commit 19e761f1 authored by Jakob Unterwurzacher's avatar Jakob Unterwurzacher Committed by Han-Wen Nienhuys

pathfs: add nodeid to ".deleted" placeholder

Helps to track where things went wrong when looking at debug
logs.
parent 7e754013
......@@ -310,8 +310,7 @@ func (n *pathInode) GetPath() string {
// some file system operation, because the file is
// still opened.
// TODO - add a deterministic disambiguating suffix.
return ".deleted"
return ".deleted." + n.inode.String()
}
return path
......
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