Compare commits

...

1 Commits

1 changed files with 0 additions and 3 deletions

View File

@ -1202,9 +1202,6 @@ public class ViewFileSystem extends FileSystem {
INodeLink<FileSystem> link = (INodeLink<FileSystem>) inode; INodeLink<FileSystem> link = (INodeLink<FileSystem>) inode;
try { try {
String linkedPath = link.getTargetFileSystem().getUri().getPath(); String linkedPath = link.getTargetFileSystem().getUri().getPath();
if("".equals(linkedPath)) {
linkedPath = "/";
}
FileStatus status = FileStatus status =
((ChRootedFileSystem)link.getTargetFileSystem()) ((ChRootedFileSystem)link.getTargetFileSystem())
.getMyFs().getFileStatus(new Path(linkedPath)); .getMyFs().getFileStatus(new Path(linkedPath));