disk: clarify comment

This commit is contained in:
Simon de Vlieger 2023-01-26 10:54:04 +01:00 committed by Ondřej Budai
parent 053bbfcb98
commit d7f5fac183

View file

@ -189,7 +189,7 @@ func (pt *PartitionTable) findDirectoryEntityPath(dir string) []Entity {
// EnsureDirectorySizes takes a mapping of directory paths to sizes (in bytes)
// and resizes the appropriate partitions such that they are at least the size
// of the sum of their subdirectories.
// of the sum of their subdirectories plus their own sizes.
// The function will panic if any of the directory paths are invalid.
func (pt *PartitionTable) EnsureDirectorySizes(dirSizeMap map[string]uint64) {