[tor-commits] [tor/master] Refactor storage usage reductions into a static function