Files
docker-cli/components/engine/pkg/mount
Brian Goff a3765ce30c Optimizations for recurrsive unmount
When a recursive unmount fails, don't bother parsing the mount table to check
if what we expected to be a mountpoint is still mounted. `EINVAL` is
returned when you try to unmount something that is not a mountpoint, the
other cases of `EINVAL` would not apply here unless everything is just
wrong. Parsing the mount table over and over is relatively expensive,
especially in the code path that it's in.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: dd2108766017c13a19bdbfd1a56cd1358580e0bb
Component: engine
2018-01-11 16:13:16 -05:00
..
2016-05-26 19:28:18 -07:00
2018-01-11 16:13:16 -05:00
2015-07-22 10:26:10 +02:00
2017-12-18 17:41:53 +01:00
2016-03-21 22:03:24 -07:00