Skip to content

Commit

Permalink
revert unrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Oct 9, 2023
1 parent 842f507 commit a4e330b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public void close() throws IOException {
* Attempts to get a specific error code that best describes the given exception.
* As a side effect this logs the error.
*
* @param e An exception
* @param e An exception
* @param opDesc A human-friendly string describing what operation was attempted (for logging purposes)
* @return A specific error code or -EIO.
*/
Expand All @@ -328,8 +328,8 @@ protected int getErrorCodeForGenericFileSystemException(FileSystemException e, S
// LOG.warn("{} {} failed, name too long.", opDesc);
// return -ErrorCodes.ENAMETOOLONG();
// } else {
LOG.error(opDesc + " failed.", e);
return -errno.eio();
LOG.error(opDesc + " failed.", e);
return -errno.eio();
// }
}
}

0 comments on commit a4e330b

Please sign in to comment.