Whamcloud - gitweb
LU-4307 kerberos: fix __exit usage and unknown symbol errors 81/8481/3
authorJames Simmons <uja.ornl@gmail.com>
Wed, 4 Dec 2013 20:03:38 +0000 (15:03 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 11 Dec 2013 14:04:26 +0000 (14:04 +0000)
commite975b1ce94ab7e626fbb4807032e0f72d6a3d42b
treeec7b22c2e16bb92f6688f972d0b0221a521e247c
parent64de2f7501738c8a1eb9938673176758e8106336
LU-4307 kerberos: fix __exit usage and unknown symbol errors

For linux all functions marked with __exit should not be
called as a cleanup function in the module init functions.
This patch removes __exit from the gss module exit functions
that are being used as cleanup in the module init function.
The second issue addressed is the unknown symbols due to
gss_[init/exit]_keyring being called when HAVE_GSS_KEYRING
is not defined.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I2de7a3ade47f585f5ec1634ee55c1d2ce56f2921
Reviewed-on: http://review.whamcloud.com/8481
Tested-by: Jenkins
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Thomas Stibor <thomas@stibor.net>
Reviewed-by: Andrew Korty <ajk@iu.edu>
lustre/ptlrpc/gss/gss_cli_upcall.c
lustre/ptlrpc/gss/gss_internal.h
lustre/ptlrpc/gss/gss_krb5_mech.c
lustre/ptlrpc/gss/gss_svc_upcall.c
lustre/ptlrpc/gss/sec_gss.c