Whamcloud - gitweb
LU-14093 gss: gcc10 fixes for GSS
authorJames Simmons <jsimmons@infradead.org>
Thu, 20 Jan 2022 00:48:45 +0000 (16:48 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 21 Jan 2022 23:23:10 +0000 (23:23 +0000)
commit2fcd3f16265df46888efbe45084e04a81c63eb39
treea40fe851a9fbd68894a5d3b6dc1f58f329bf1f42
parentf01916ee1381df247b9fdeb15abc0e3dc5cb5aba
LU-14093 gss: gcc10 fixes for GSS

Building with gcc10 reports the following issues when building
GSS:

gss_util.h:37: multiple definition of `this_realm';
gssd.h:73: multiple definition of `clnt_list';
svcgssd.h:38: multiple definition of `krb_enabled';

Properly scope these variables.

Lustre-change: https://review.whamcloud.com/44363
Lustre-commit: 39e4c97530c4657192e7c0d6a22ca30c90cdb6e4

Test-Parameters: env=SHARED_KEY=true testlist=sanity,recovery-small,sanity-sec
Change-Id: I05fc298fb90d67314c6963273688c2577099188a
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-on: https://review.whamcloud.com/46216
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Andreas Dilger <adilger@whamcloud.com>
lustre/utils/gss/gss_util.h
lustre/utils/gss/gssd.h
lustre/utils/gss/gssd_main_loop.c
lustre/utils/gss/gssd_proc.c
lustre/utils/gss/svcgssd.h