code: func (p *criStatsProvider) ImageFsStats() (*statsapi.FsStats, error) {
  	resp, err := p.imageService.ImageFsInfo()
  	if err != nil {
  		return nil, err
  	}
  
  	// CRI may return the stats of multiple image filesystems but we only
  	// return the first one.
  	//
  	// TODO(yguo0905): Support returning stats of multiple image filesystems.
  	for _, fs := range resp {
  		s := &statsapi.FsStats{
  			Time:      metav1.NewTime(time.Unix(0, fs.Timestamp)),
  			UsedBytes: &fs.UsedBytes.Value,
  		}
  		if fs.InodesUsed != nil {
  			s.InodesUsed = &fs.InodesUsed.Value
  		}
  		imageFsInfo := p.getFsInfo(fs.GetFsId())
  		if imageFsInfo != nil {
  			// The image filesystem id is unknown to the local node or there's
  			// an error on retrieving the stats. In these cases, we omit those
  			// stats and return the best-effort partial result. See
  			// https://github.com/kubernetes/heapster/issues/1793.
  			s.AvailableBytes = &imageFsInfo.Available
  			s.CapacityBytes = &imageFsInfo.Capacity
  			s.InodesFree = imageFsInfo.InodesFree
  			s.Inodes = imageFsInfo.Inodes
  		}
  		return s, nil
  	}
  
  	return nil, fmt.Errorf("imageFs information is unavailable")
  }
docs: // ImageFsStats returns the stats of the image filesystem.