Whamcloud - gitweb
e2fsck: misc cleanups for pfsck
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 28 Sep 2020 19:21:16 +0000 (13:21 -0600)
committerLi Dongyang <dongyangli@ddn.com>
Thu, 8 Apr 2021 00:58:30 +0000 (10:58 +1000)
commitfd01e467798a47b05863adf217310501767649a0
treebb178c768c7e2d983392874b351ac4dfbbb8eba4
parent64257655e6cea5ef78f1e3a4194829987b88185b
e2fsck: misc cleanups for pfsck

Add -m option description to e2fsck.8 man page.

Rename e2fsck_struct fs_num_threads to pfs_num_threads to avoid
confusion with the ext2_filsys fs_num_threads field, and move
thread_info to be together with the other HAVE_PTHREAD fields.

Move ext2_filsys fs_num_threads to fit into the __u16 "pad" field
to avoid consuming one of the few remaining __u32 reserved fields.

Fix a few print format warnings.

E2fsprogs-commit: afad25acf8c6694c8cea08820fe5af84388a76f3

Change-Id: I5ab49a3ad41f1ebb374669c5d640afa1f3fc35fd
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/e2fsck.8.in
e2fsck/e2fsck.h
e2fsck/pass1.c
e2fsck/unix.c
lib/ext2fs/ext2fs.h