mirror of
https://github.com/docker/cli.git
synced 2026-08-30 02:24:27 -05:00
7fb23fc9ef3bbdb12411d35fbddc585c2b8a0a2f
If a device is still mounted at the time of DeleteDevice(), that means higher layers have not called Put() properly on the device and are trying to delete it. This is a bug in the code where Get() and Put() have not been properly paired up. Fail device deletion if it is still mounted. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Upstream-commit: e97e46b7376c3195383636d305d832b2ba3f82c5 Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%