code: func (p *StatsProvider) RootFsStats() (*statsapi.FsStats, error) {
  	rootFsInfo, err := p.cadvisor.RootFsInfo()
  	if err != nil {
  		return nil, fmt.Errorf("failed to get rootFs info: %v", err)
  	}
  
  	var nodeFsInodesUsed *uint64
  	if rootFsInfo.Inodes != nil && rootFsInfo.InodesFree != nil {
  		nodeFsIU := *rootFsInfo.Inodes - *rootFsInfo.InodesFree
  		nodeFsInodesUsed = &nodeFsIU
  	}
  
  	// Get the root container stats's timestamp, which will be used as the
  	// imageFs stats timestamp.  Dont force a stats update, as we only want the timestamp.
  	rootStats, err := getCgroupStats(p.cadvisor, "/", false)
  	if err != nil {
  		return nil, fmt.Errorf("failed to get root container stats: %v", err)
  	}
  
  	return &statsapi.FsStats{
  		Time:           metav1.NewTime(rootStats.Timestamp),
  		AvailableBytes: &rootFsInfo.Available,
  		CapacityBytes:  &rootFsInfo.Capacity,
  		UsedBytes:      &rootFsInfo.Usage,
  		InodesFree:     rootFsInfo.InodesFree,
  		Inodes:         rootFsInfo.Inodes,
  		InodesUsed:     nodeFsInodesUsed,
  	}, nil
  }
docs: // RootFsStats returns the stats of the node root filesystem.