Home
last modified time | relevance | path

Searched refs:should_not_have_added (Results 1 – 1 of 1) sorted by relevance

/linux/fs/bcachefs/
H A Dbuckets.c509 s64 should_not_have_added = added - (s64) disk_res_sectors; in bch2_trans_account_disk_usage_change() local
510 if (unlikely(should_not_have_added > 0)) { in bch2_trans_account_disk_usage_change()
515 new = max_t(s64, 0, old - should_not_have_added); in bch2_trans_account_disk_usage_change()
519 added -= should_not_have_added; in bch2_trans_account_disk_usage_change()
537 should_not_have_added, disk_res_sectors); in bch2_trans_account_disk_usage_change()