Fix comment. The actual meaning of ub_cnt is the opposite.

This commit is contained in:
Gleb Smirnoff 2018-08-23 23:24:28 +00:00
parent e94a7c27df
commit a307fb5b0c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338284

View File

@ -188,7 +188,7 @@ struct uma_hash {
struct uma_bucket {
LIST_ENTRY(uma_bucket) ub_link; /* Link into the zone */
int16_t ub_cnt; /* Count of free items. */
int16_t ub_cnt; /* Count of allocated items. */
int16_t ub_entries; /* Max items. */
void *ub_bucket[]; /* actual allocation storage */
};