Whamcloud - gitweb
e2fsck: do not change global variables
authorLi Xi <lixi@ddn.com>
Fri, 30 Aug 2019 04:20:11 +0000 (12:20 +0800)
committerLi Dongyang <dongyangli@ddn.com>
Thu, 8 Apr 2021 00:53:22 +0000 (10:53 +1000)
commit610fe506bdafea4641a260b8f0bd880765c110f0
tree5b9a4218ce294c9fc8720bb1b7a2b5422736248e
parent58d68681967efe2861a1f3f8c6f4923a48e9265e
e2fsck: do not change global variables

Global variables used in pass1 check are changed to local variables
in this patch. This will avoid conflict between threads.

E2fsprogs-commit: 5a1b22da5ca3e90728cee1dbe6bc1920b245dded

Change-Id: Ifc682874801af15e8e13764832ca569b7da4ac57
Signed-off-by: Li Xi <lixi@ddn.com>
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