Fix a comment error

Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
This commit is contained in:
Yanqiang Miao 2016-11-14 09:55:27 +08:00
parent 0f20d6f5ab
commit 19e2c9177a

View file

@ -142,7 +142,7 @@ func (s *VolumeStore) Purge(name string) {
type VolumeStore struct { type VolumeStore struct {
locks *locker.Locker locks *locker.Locker
globalLock sync.Mutex globalLock sync.Mutex
// names stores the volume name -> driver name relationship. // names stores the volume name -> volume relationship.
// This is used for making lookups faster so we don't have to probe all drivers // This is used for making lookups faster so we don't have to probe all drivers
names map[string]volume.Volume names map[string]volume.Volume
// refs stores the volume name and the list of things referencing it // refs stores the volume name and the list of things referencing it