static void journal_ratelimit_vacuum(JournalRateLimit *r, usec_t ts) {
assert(r);
- /* Makes room for at least one new item, but drop all
- * expored items too. */
+ /* Makes room for at least one new item, but drop all expired items too. */
while (r->n_groups >= GROUPS_MAX ||
(r->lru_tail && journal_ratelimit_group_expired(r->lru_tail, ts)))
* we have modern statx() we use it instead of fstat() and do proper mount point checks,
* while on older kernels's well do traditional st_dev based detection of mount points.
*
- * Using statx() for detecting mount points also has the benfit that we handle weird file
+ * Using statx() for detecting mount points also has the benefit that we handle weird file
* systems such as overlayfs better where each file is originating from a different
* st_dev. */