Commit 7525e8e2 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

vfs-test: hard link should return the same inode

Acked-by: Lea Morschel
Acked-by: Albert Rossi
Target: master
parent d80f41ad
......@@ -262,9 +262,7 @@ public class DummyVFS implements VirtualFileSystem {
throw new ServerFaultException("Failed to create: " + e.getMessage(), e);
}
long newInodeNumber = fileId.getAndIncrement();
map(newInodeNumber, targetPath);
return toFileHandle(newInodeNumber);
return existing;
}
@Override
......
Supports Markdown
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