<CONTEXT>+ lpath.substring(this.mountedVolume.length());</BUG>link.put(lpath);} catch (Exception e) {SDFSLogger.getLog().error("error getting linking " + path, e);<extra_id_0>link.put(lpath);} catch (Exception e) {SDFSLogger.getLog().error("error getting linking " + path, e);<BUG>throw new FuseException("error getting linking " + path).initErrno(Errno.EACCES);</BUG>} finally {p = null;</CONTEXT>
public int readlink(String path, CharBuffer link) throws FuseException {Path p = Paths.get(this.mountedVolume + path);try {String lpath = Files.readSymbolicLink(p).toString();if (lpath.startsWith(this.mountedVolume))lpath = this.mountPoint + lpath.substring(this.mountedVolume.length());throw new FuseException("error getting linking " + path).initErrno(Errno.EACCES);