Whamcloud - gitweb
LU-14093 gss: gcc10 fixes for GSS 63/44363/4
authorJames Simmons <jsimmons@infradead.org>
Wed, 21 Jul 2021 16:41:10 +0000 (12:41 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 31 Jul 2021 06:39:25 +0000 (06:39 +0000)
commit39e4c97530c4657192e7c0d6a22ca30c90cdb6e4
tree481df3becae983ba679c6691246bc14ad1e60277
parentdb0b09018e77114667a1b0fbd6c04194f56cb492
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.

Change-Id: I05fc298fb90d67314c6963273688c2577099188a
Test-Parameters: env=SHARED_KEY=true testlist=sanity,recovery-small,sanity-sec
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/44363
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <green@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