On Tue, Dec 21, 2021 at 08:46:58PM -0500, Kelvin Zhang wrote: > Not really, dump_get_occupied_size() contains some custom logic for > counting stats. > Ok, thanks. maybe it would be better to rename as erofsdump_get_occupied_size(). Also we could "static inline" such API since it's simple. Thanks, Gao Xiang