Whamcloud - gitweb
LU-14462 gss: remove HAVE_SETNS from lgss_keyring 67/41967/3
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 9 Mar 2021 16:11:44 +0000 (17:11 +0100)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Mar 2021 04:16:34 +0000 (04:16 +0000)
commit9d347ae1d6aa642a86b710452b1978ea303dea09
treed018491085b10fea689390a842bc1543d5e8f15f
parente520ee276800362caa652088b56325fac16aef7f
LU-14462 gss: remove HAVE_SETNS from lgss_keyring

For the sake of simplification, a previous patch removed the config
check that sets HAVE_SETNS, due to the fact that in kernels 3.10+
function setns() necessarily exists.
In this case, all #ifdef on HAVE_SETNS are erroneous because it is
not set whereas the function is actually available.
So remove all references to HAVE_SETNS in the code.

Fixes: 8e88bbfef5 ("LU-12477 lustre: remove obsolete config checks")
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Iab0726c3e847a210185cc8c9353a79976acb1381
Reviewed-on: https://review.whamcloud.com/41967
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/gss/lgss_keyring.c