Whamcloud - gitweb
LU-17000 coverity: Fix use before null under pcc.c 58/52658/3
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Thu, 12 Oct 2023 10:27:16 +0000 (06:27 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 25 Oct 2023 18:09:47 +0000 (18:09 +0000)
commitf46d3e6f529b7501eff884e41d47bc2a5ed1650d
tree1edac85075c3655e896f641f815f3e4c8845371d
parentc8963c4935168c749896664e40aa4d11be90e0c3
LU-17000 coverity: Fix use before null under pcc.c

This patch fixes 'dereference before null' error reported
by coverity run.

CoverityID: 397538 ("Dereference before null"): pcc.c

Test-Parameters: trivial testlist=sanity-pcc
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: Ic125f74b61e500e2184bde894aade7119b7a2899
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52658
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/pcc.c