Whamcloud - gitweb
LU-14769 e2fsck: init inode_badness proper for thread context 12/44012/3
authorWang Shilong <wshilong@ddn.com>
Thu, 27 May 2021 05:04:08 +0000 (13:04 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 18 Jun 2021 00:51:20 +0000 (00:51 +0000)
commit21c888cdd1d165be06c24a7b61ce7335fc6203a5
treec10e697720d1d38ece692d6c793483feb28b02e0
parent059e8788fffe1c57ac09417d04200389623d9c22
LU-14769 e2fsck: init inode_badness proper for thread context

Some bad inode might be added before pass1, so global_ctx's
@inode_badness might be not NULL, we need init thread_ctx's
inode badness as NULL.

Change-Id: I31a526fd0cfc0c9f8c13598deba4ae882080412f
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/44012
Reviewed-by: Wang Shilong <wshilong@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
e2fsck/pass1.c