containers / virtcontainers

A Go package for building hardware virtualized container runtimes
Apache License 2.0
139 stars 43 forks source link

mount: Fix unmount of dangling bind-mounts #567

Closed jodh-intel closed 6 years ago

jodh-intel commented 6 years ago

Fix bug whereby the first bind mount that was unmounted would always exit the unmount loop, leaving the other bind-mounts in place after the container had been deleted.

Fixes #566.

Signed-off-by: James O. D. Hunt james.o.hunt@intel.com

sboeuf commented 6 years ago

LGTM

sboeuf commented 6 years ago

@amshinde please take a look and merge it if you're fine with this.

sameo commented 6 years ago

LGTM

Approved with PullApprove Approved with PullApprove