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/aufs
Brian Goff d42dbdd3d4 Fix error handling with not-exist errors on remove
Specifically, none of the graphdrivers are supposed to return a
not-exist type of error on remove (or at least that's how they are
currently handled).

Found that AUFS still had one case where a not-exist error could escape,
when checking if the directory is mounted we call a `Statfs` on the
path.

This fixes AUFS to not return an error in this case, but also
double-checks at the daemon level on layer remove that the error is not
a `not-exist` type of error.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-07-20 12:26:27 -04:00
..
aufs.go Fix error handling with not-exist errors on remove 2017-07-20 12:26:27 -04:00
aufs_test.go use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
dirs.go Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
mount.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
mount_linux.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
mount_unsupported.go daemon/graphdriver/aufs fix lint errors/warnings 2015-07-28 06:17:05 +00:00