Whamcloud - gitweb
LU-8465 e2fsck: fix build for make rpm 60/40060/2
authorWang Shilong <wshilong@ddn.com>
Sat, 26 Sep 2020 07:41:58 +0000 (15:41 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 27 Sep 2020 05:16:57 +0000 (05:16 +0000)
commitb6c4cadb62d25e91aeebcb619979a9cba6887ebb
tree49aa304a6d274681aec49a66bf8871c5475e3fa9
parent13848abab6290fd7bba77527ec9289a5e3814835
LU-8465 e2fsck: fix build for make rpm

Two problems addressed by this patch:

1)link e2fsck with -lpthread properly to make rpm pass.
2)a bounch of ext2fs_get_avg_group() unused warning messages are
annoying, move it to rw_bitmaps.c to make gcc happy.

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: Ia7d372b7b5aadcbf5d94916f6f67363a2a9f0bfa
Reviewed-on: https://review.whamcloud.com/40060
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
MCONFIG.in
e2fsck/Makefile.in
lib/ext2fs/ext2fs.h
lib/ext2fs/rw_bitmaps.c