core/mount: Fix mount manager activation error when already exists · containerd/containerd@54ecff6 · GitHub
Skip to content

Commit 54ecff6

Browse files
dmcgowank8s-infra-cherrypick-robot
authored andcommitted
core/mount: Fix mount manager activation error when already exists
Correctly handle cases where the mount activation still exists: - If activation is fully activate, then just return already exists and allow the caller to return error or call Info to continue. - If activation is stale or incomplete due to crash during activation, overwrite the identifier and cleanup the incomplete activation during activate. Signed-off-by: Derek McGowan <derek@mcg.dev>
1 parent b7d1d01 commit 54ecff6

4 files changed

Lines changed: 395 additions & 7 deletions

File tree

core/mount/manager/buckets.go

Lines changed: 4 additions & 0 deletions

core/mount/manager/manager.go

Lines changed: 114 additions & 4 deletions

0 commit comments

Comments
 (0)