mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
1caeb79963
When using the mounts API, bind mounts are not supposed to be automatically created. Before this patch there is a race condition between valiating that a bind path exists and then actually setting up the bind mount where the bind path may exist during validation but was removed during mountpooint setup. This adds a field to the mountpoint struct to ensure that binds created over the mounts API are not accidentally created. Signed-off-by: Brian Goff <cpuguy83@gmail.com> |
||
---|---|---|
.. | ||
lcow_parser.go | ||
linux_parser.go | ||
mounts.go | ||
parser.go | ||
parser_test.go | ||
validate.go | ||
validate_test.go | ||
validate_unix_test.go | ||
validate_windows_test.go | ||
volume_copy.go | ||
volume_unix.go | ||
volume_windows.go | ||
windows_parser.go |