Skip to content

Commit

Permalink
Clean up missed SyscallCache.NO_CACHE from RecursiveFilesystemTravers…
Browse files Browse the repository at this point in the history
…alFunction.

PiperOrigin-RevId: 430298503
  • Loading branch information
janakdr authored and copybara-github committed Feb 22, 2022
1 parent 801535d commit 841c04a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ private static FileInfo lookUpFileInfo(
// remove some of the filesystem operations we're doing here.
Path path = traversal.root.asRootedPath().asPath();
FileStateValue fileState =
FileStateValue.create(traversal.root.asRootedPath(), SyscallCache.NO_CACHE, null);
FileStateValue.create(traversal.root.asRootedPath(), syscallCache, null);
if (fileState.getType() == FileStateType.NONEXISTENT) {
throw new IOException("Missing file: " + path);
}
Expand Down

0 comments on commit 841c04a

Please sign in to comment.