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>
Fri, 24 May 2024 11:03:19 +0000 (21:03 +1000)
commitf080a6395d2dd387ff3a286f12a4f33f7baab83a
treec711212bbc84cab418b589d56b46c5bef39ec5a8
parent0859bbd1ff600d2875e0de86be104cbf17bb05e1
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