Whamcloud - gitweb
e2fsck: simplify e2fsck context merging codes
authorWang Shilong <wshilong@ddn.com>
Fri, 13 Mar 2020 10:46:24 +0000 (18:46 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 28 Mar 2022 22:13:09 +0000 (16:13 -0600)
commitf4a01112ec821cbdbd4ddafa5938eaffcfcb620a
treeb9d35366887303d984b5909769856482e451f237
parent3e4d807aa5c8aa31596a3bfe1a17753726e041d8
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