From: ericm Date: Thu, 18 Jun 2009 01:32:40 +0000 (+0000) Subject: branch: HEAD X-Git-Tag: v1_9_220~129 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=604e34bd6027b38fca3220f3bb8977fbf869f47b branch: HEAD fix a gss build error. b=19826 r=yujian r=fanyong --- diff --git a/lustre/ptlrpc/gss/gss_svc_upcall.c b/lustre/ptlrpc/gss/gss_svc_upcall.c index e97ae44..ba9e808e 100644 --- a/lustre/ptlrpc/gss/gss_svc_upcall.c +++ b/lustre/ptlrpc/gss/gss_svc_upcall.c @@ -1451,13 +1451,9 @@ int __init gss_init_svc_upcall(void) void __exit gss_exit_svc_upcall(void) { - int rc; - cache_purge(&rsi_cache); - if ((rc = cache_unregister(&rsi_cache))) - CERROR("unregister rsi cache: %d\n", rc); + cache_unregister(&rsi_cache); cache_purge(&rsc_cache); - if ((rc = cache_unregister(&rsc_cache))) - CERROR("unregister rsc cache: %d\n", rc); + cache_unregister(&rsc_cache); }