Whamcloud - gitweb
e2fsck: simplify e2fsck context merging codes
authorWang Shilong <wshilong@ddn.com>
Fri, 13 Mar 2020 10:46:24 +0000 (18:46 +0800)
committerLi Dongyang <dongyangli@ddn.com>
Thu, 8 Apr 2021 00:57:40 +0000 (10:57 +1000)
commitaa81c1afcc916c72c2a2b2a6455172366ec419a0
treec7f8ea7454ca5ce30bb5b18a241741db27d1edd2
parent5188eb63c0f0eff04282f74354f113aea2767456
e2fsck: simplify e2fsck context merging codes

We tried to copy thread context to global context directly
and then copy back some saved variables before merging.

Since we have finished almost all necessary variables
in the e2fsck context, we could simplify codes, and
this could help us understand what is missing rather
than hide problems.

E2fsprogs-commit: 41c991af7ed7244da0fd799f63e4e6fd0d6c5b25

Change-Id: I450e3f5fb26c5c6fe8a075373bf538965f443d02
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass1.c