summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/fds.go
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2018-09-18 15:41:13 -0700
committerShentubot <shentubot@google.com>2018-09-18 15:42:22 -0700
commitfd222d62eda8b447fa0e11260f64fdb94e5e7084 (patch)
tree9d5522fd1ef87dfbe974c04cc18977f5619dbdd6 /runsc/boot/fds.go
parent7967d8ecd57383f406d202f7e2f65e275bb36fc8 (diff)
Short-circuit Readdir calls on overlay files when the dirent is frozen.
If we have an overlay file whose corresponding Dirent is frozen, then we should not bother calling Readdir on the upper or lower files, since DirentReaddir will calculate children based on the frozen Dirent tree. A test was added that fails without this change. PiperOrigin-RevId: 213531215 Change-Id: I4d6c98f1416541a476a34418f664ba58f936a81d
Diffstat (limited to 'runsc/boot/fds.go')
0 files changed, 0 insertions, 0 deletions