Skip to content

Commit d52daa4

Browse files
committed
core: Fix regression in handling of export table
As reported in #156, commit 09e8063 caused a regression a during dCache integration. The change threw a BadHandleException if the pseudo Inode was not the root inode of the inner file system. Do not throw a BadHandleException but simply convert the pseudo inode to an inner inode. Signed-off-by: Christian Kohlschütter <[email protected]>
1 parent eb9a7e3 commit d52daa4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/src/main/java/org/dcache/nfs/vfs/PseudoFs.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,6 @@ private Inode innerInode(Inode inode) throws IOException {
753753
Inode innerRootInode = _inner.getRootInode();
754754
if (innerRootInode.getFileIdKey().equals(inode.getFileIdKey())) {
755755
return innerRootInode;
756-
} else {
757-
throw new BadHandleException();
758756
}
759757
}
760758
return Inode.innerInode(inode);

0 commit comments

Comments
 (0)