Try to resize data and metadata loopback file when initiating devicemapper

Signed-off-by: Chun Chen <ramichen@tencent.com>
Upstream-commit: 2458452a3b96d0e6f6dfa44d7c30585db83c2fd1
Component: engine
This commit is contained in:
Chun Chen
2015-09-24 09:21:28 +08:00
parent d572cd9e37
commit 87c29288c8
8 changed files with 69 additions and 17 deletions

View File

@ -57,7 +57,7 @@ func Init(home string, options []string) (graphdriver.Driver, error) {
home: home,
}
return graphdriver.NaiveDiffDriver(d), nil
return graphdriver.NewNaiveDiffDriver(d), nil
}
func (d *Driver) String() string {