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>
Tue, 14 Jan 2025 04:07:36 +0000 (15:07 +1100)
commit6ad979f50db8b6ebbe06ecc95af20c2b4471dc77
tree2ea0b768267e1b38490950b86910c55d6a428337
parentd962d4eb5b2f91c3bbb86cc67334b8a23d255ff3
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