Whamcloud - gitweb
LU-15834 lfs: rid of global variable "error_loc" 52/56852/12
authorBobi Jam <bobijam@whamcloud.com>
Fri, 1 Nov 2024 11:22:24 +0000 (19:22 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 16 Apr 2025 20:42:22 +0000 (20:42 +0000)
commit32eeb96e96446003e6087ef494d8deca01885796
treee2eb8eee121f8ff589781d9d9fb4b3ab3ddb83fb
parentcaee4e340d19861de33f380a30388f55120431a1
LU-15834 lfs: rid of global variable "error_loc"

This patch removes global variable "error_loc", and makes error
string local variables, so that the functions using them are
thread safe.

Test-Parameters: trivial testlist=sanity-flr,sanity-pfl
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: Ib93ff122e84c94b8363b69281b5ff3fa6abb4164
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56852
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/utils/lfs.c