1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/graphdriver
Kir Kolyshkin 732dd9b848 devmapper/Remove(): use Rmdir, ignore errors
1. Replace EnsureRemoveAll() with Rmdir(), as here we are removing
   the container's mount point, which is already properly unmounted
   and is therefore an empty directory.

2. Ignore the Rmdir() error (but log it unless it's ENOENT). This
   is a mount point, currently unmounted (i.e. an empty directory),
   and an older kernel can return EBUSY if e.g. the mount was
   leaked to other mount namespaces.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-03-02 18:10:57 -08:00
..
aufs Add canonical import comment 2018-02-05 16:51:57 -05:00
btrfs Golint fix up 2018-02-23 16:40:37 +00:00
copy Add canonical import comment 2018-02-05 16:51:57 -05:00
devmapper devmapper/Remove(): use Rmdir, ignore errors 2018-03-02 18:10:57 -08:00
graphtest Add canonical import comment 2018-02-05 16:51:57 -05:00
lcow Fix typos in daemon 2018-02-10 19:42:54 +08:00
overlay Add canonical import comment 2018-02-05 16:51:57 -05:00
overlay2 Add canonical import comment 2018-02-05 16:51:57 -05:00
overlayutils Add canonical import comment 2018-02-05 16:51:57 -05:00
quota Add canonical import comment 2018-02-05 16:51:57 -05:00
register Add canonical import comment 2018-02-05 16:51:57 -05:00
vfs Add canonical import comment 2018-02-05 16:51:57 -05:00
windows Add canonical import comment 2018-02-05 16:51:57 -05:00
zfs Merge pull request #36237 from cpuguy83/zfs_do_not_unmount 2018-02-14 09:49:17 -05:00
counter.go graphdriver: Fix RefCounter memory leak 2018-02-09 10:26:06 +08:00
driver.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_freebsd.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fsdiff.go Add canonical import comment 2018-02-05 16:51:57 -05:00
plugin.go Merge pull request #35829 from cpuguy83/no_private_mount_for_plugins 2018-02-21 12:28:13 +01:00
proxy.go Merge pull request #35829 from cpuguy83/no_private_mount_for_plugins 2018-02-21 12:28:13 +01:00