Browse Source

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)
Derek McGowan 9 years ago
parent
commit
5cc0824730
1 changed files with 0 additions and 4 deletions
  1. 0 4
      daemon/graphdriver/overlay/overlay.go

+ 0 - 4
daemon/graphdriver/overlay/overlay.go

@@ -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")