]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2fsck: do not change global variables
authorLi Xi <lixi@ddn.com>
Fri, 30 Aug 2019 04:20:11 +0000 (12:20 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 25 Jan 2021 20:17:05 +0000 (15:17 -0500)
commit5a1b22da5ca3e90728cee1dbe6bc1920b245dded
tree8d68066064fbbe5a99c65233f4fbcaf319217e3a
parentecf85fb474fb7537f14bddd8f85d8372b808d5e9
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.

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