Whamcloud - gitweb
LU-14462 gss: remove HAVE_SETNS from lgss_keyring
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 9 Mar 2021 16:11:44 +0000 (17:11 +0100)
committerLi Xi <lixi@ddn.com>
Mon, 26 Apr 2021 14:14:36 +0000 (14:14 +0000)
commit22f008207f914c79be36929ed6bbefc4050fdf6d
tree476d28d0fc34ee3f68c66e075770523c01e9d084
parent64ff991ddf90dbc92a5bf4bc0f1666c4e347b161
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.

Lustre-change: https://review.whamcloud.com/41967
Lustre-commit: 9d347ae1d6aa642a86b710452b1978ea303dea09

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/43166
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
lustre/utils/gss/lgss_keyring.c