Files
docker-cli/components/engine/daemon/graphdriver
Shishir Mahajan bd261166b3 Fixes Issue # 22992: docker commit failing.
1) docker create / run / start: this would create a snapshot device and mounts it onto the filesystem.
So the first time GET operation is called. it will create the rootfs directory and return the path to rootfs
2) Now when I do docker commit. It will call the GET operation second time. This time the refcount will check
that the count > 1 (count=2). so the rootfs already exists, it will just return the path to rootfs.

Earlier it was just returning the mp: /var/lib/docker/devicemapper/mnt/{ID} and hence the inconsistent paths error.

Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>
Upstream-commit: 09d0720e2fb6e30ee018887399f353f93ac2d421
Component: engine
2016-05-27 14:35:46 -04:00
..
2016-05-23 15:57:23 -07:00
2016-05-05 14:35:13 +08:00
2016-05-24 21:43:45 -04:00
2016-05-23 15:57:23 -07:00
2016-05-23 15:57:23 -07:00
2016-05-23 15:57:23 -07:00