code: func (s *VolumeStore) getRefs(name string) []string {
  	s.globalLock.RLock()
  	defer s.globalLock.RUnlock()
  
  	refs := make([]string, 0, len(s.refs[name]))
  	for r := range s.refs[name] {
  		refs = append(refs, r)
  	}
  
  	return refs
  }
docs: // getRefs gets the list of refs for a given name
  // Callers of this function are expected to hold the name lock.