Re: [PATCH 1/3] misc: deduplicate log2/log10 functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 24 Jan 2025 17:42:18 -0700, Andreas Dilger wrote:
> Remove duplicate log2() and log10() functions and replace them with
> functions ext2fs_log2_u{32,64}() and ext2fs_log10_u{32,64}().
> 
> The int_log10() functions in progress.c and mke2fs.c were not like
> the others, since they did not divide by the base before increment,
> effectively rounding up instead of down.  Compensate by adding one
> to the returned ext2fs_log10_u32() value at the callers.
> 
> [...]

Applied, thanks!

[1/3] misc: deduplicate log2/log10 functions
      commit: be4834c29e6f2c55ab6e6c9c94b95b46e24cfdb4
[2/3] journal: increase revoke block hash size
      commit: c2f2f0cdf5ad5f281582d810a0c48c612142a08b

Best regards,
-- 
Theodore Ts'o <tytso@xxxxxxx>




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux