Whamcloud - gitweb
e2fsck: do not change global variables
authorLi Xi <lixi@ddn.com>
Fri, 30 Aug 2019 04:20:11 +0000 (12:20 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 19 Sep 2022 23:10:45 +0000 (17:10 -0600)
commit7906f06f685cd2cb4b9b7a003c4c434b03585bc0
tree6ca6526ad13e6ff12d45d78a2f663b75078465c9
parent44d62329518e011ada2b00bc7b73de4f5100a98c
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