mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Remove unused mounted function in overlay
The mount check is now done by the FSChecker. This function is no longer needed and shouldn't be called. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
parent
f0d6fd93a2
commit
5cc0824730
1 changed files with 0 additions and 4 deletions
|
@ -374,10 +374,6 @@ func (d *Driver) Get(id string, mountLabel string) (s string, err error) {
|
||||||
return mergedDir, nil
|
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.
|
// Put unmounts the mount path created for the give id.
|
||||||
func (d *Driver) Put(id string) error {
|
func (d *Driver) Put(id string) error {
|
||||||
mountpoint := path.Join(d.dir(id), "merged")
|
mountpoint := path.Join(d.dir(id), "merged")
|
||||||
|
|
Loading…
Reference in a new issue