summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/fsutil
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2020-03-31 15:00:30 -0700
committergVisor bot <gvisor-bot@google.com>2020-03-31 15:11:11 -0700
commitb6639f77e59d885cb092c15a7a0c5a988e149b40 (patch)
tree17e31673f34ae507ec7260313f387a2cfde0b78e /pkg/sentry/fs/fsutil
parente1c8eaca8f8413b17dab8f01b2e123e9d4b9ddbc (diff)
Include original copyUp error in panic if cleanupUpper fails.
When copyUp fails, we attempt to clean up the upper filesystem by removing any files that have already been copied-up. If the cleanup fails, we panic because the "overlay filesystem is in an inconsistent state". This CL adds the original copy-up error to the panic information, to hopefully make it easier to track down how the overlay filesystem got into the inconsistent state. PiperOrigin-RevId: 304053370
Diffstat (limited to 'pkg/sentry/fs/fsutil')
0 files changed, 0 insertions, 0 deletions