Whamcloud - gitweb
LU-17117 misc: deduplicate log2/log10 functions
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 15 Sep 2023 08:00:17 +0000 (02:00 -0600)
committerLi Dongyang <dongyangli@ddn.com>
Tue, 28 May 2024 05:53:20 +0000 (15:53 +1000)
commit7391ab9a9d4bf0c813afad22f959569266383380
tree4243e704c4ee2336d4f799140ce6c92c868472ac
parentebd5c76b5bfa74724b5227f8c94bf3ae9fc3b22e
LU-17117 misc: deduplicate log2/log10 functions

Remove duplicate log2() and log10() functions and replace them
with a single pair of functions ext2fs_log2() and ext2fs_log10().

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ifc86efe7e5f0243eb914c6d24319cc7dee3ebbe5
Reviewed-on: https://review.whamcloud.com/c/tools/e2fsprogs/+/52385
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
debugfs/debugfs.c
debugfs/filefrag.c
lib/ext2fs/ext2fs.h
lib/ext2fs/extent.c
misc/e2freefrag.c
misc/e4crypt.c
misc/filefrag.c
misc/mk_hugefiles.c
misc/mke2fs.c
misc/mke2fs.h