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>
Fri, 28 Apr 2023 00:47:13 +0000 (10:47 +1000)
commit330f2811572fce5a26c77c9a315ac03e0bf8c570
tree79f8527ed79b0c744ded1f8c822e68246787a2e8
parent13d88193cfdf245f8af0c4a24215405668b0e1f8
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