From f4ac86de84c25bf1793d1e934695b7119dc51b70 Mon Sep 17 00:00:00 2001 From: Mabin Date: Mon, 2 Mar 2015 02:11:15 +0800 Subject: [PATCH] fix typo of comments in daemon/graphdriver/devmapper/deviceset.go Signed-off-by: Mabin --- daemon/graphdriver/devmapper/deviceset.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/graphdriver/devmapper/deviceset.go b/daemon/graphdriver/devmapper/deviceset.go index 83553e1035..5a3087eca5 100644 --- a/daemon/graphdriver/devmapper/deviceset.go +++ b/daemon/graphdriver/devmapper/deviceset.go @@ -469,7 +469,7 @@ func (devices *DeviceSet) createFilesystem(info *DevInfo) error { } func (devices *DeviceSet) migrateOldMetaData() error { - // Migrate old metadatafile + // Migrate old metadata file jsonData, err := ioutil.ReadFile(devices.oldMetadataFile()) if err != nil && !os.IsNotExist(err) { return err @@ -1093,7 +1093,7 @@ func (devices *DeviceSet) initDevmapper(doInit bool) error { } } - // Right now this loads only NextDeviceId. If there is more metatadata + // Right now this loads only NextDeviceId. If there is more metadata // down the line, we might have to move it earlier. if err = devices.loadDeviceSetMetaData(); err != nil { return err @@ -1568,7 +1568,7 @@ func (devices *DeviceSet) poolStatus() (totalSizeInSectors, transactionId, dataU return } -// MetadataDevicePath returns the path to the metadata storage for this deviceset, +// DataDevicePath returns the path to the data storage for this deviceset, // regardless of loopback or block device func (devices *DeviceSet) DataDevicePath() string { return devices.dataDevice