Skip to content

Commit

Permalink
UPSTREAM: 49118: Allow unmounting bind-mounted directories.
Browse files Browse the repository at this point in the history
For bind-mounted directories, the isNotMounted which calls
IsLikelyNotMountPoint fails because the filesystem of the mounted
location and the parent directory are the same.

Addressing:
unmounter.go:59] Warning: Path: /path/.../test-dir already unmounted
  • Loading branch information
adelton committed Jul 25, 2017
1 parent 970dc61 commit 139e0d5
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions vendor/k8s.io/kubernetes/pkg/volume/flexvolume/unmounter.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 139e0d5

Please sign in to comment.