1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #22948 from dmcgowan/remove-unused-overlay-mounted

Remove unused mounted function in overlay
This commit is contained in:
Michael Crosby 2016-05-24 13:08:06 -07:00
commit 0802401d22

View file

@ -374,10 +374,6 @@ func (d *Driver) Get(id string, mountLabel string) (s string, err error) {
return mergedDir, nil
}
func (d *Driver) mounted(dir string) (bool, error) {
return graphdriver.Mounted(graphdriver.FsMagicOverlay, dir)
}
// Put unmounts the mount path created for the give id.
func (d *Driver) Put(id string) error {
mountpoint := path.Join(d.dir(id), "merged")