Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-5396 all: use NULL instead of 0
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
gss
/
gss_mech_switch.c
diff --git
a/lustre/ptlrpc/gss/gss_mech_switch.c
b/lustre/ptlrpc/gss/gss_mech_switch.c
index
1d80a77
..
ed0f251
100644
(file)
--- a/
lustre/ptlrpc/gss/gss_mech_switch.c
+++ b/
lustre/ptlrpc/gss/gss_mech_switch.c
@@
-331,7
+331,7
@@
__u32 lgss_delete_sec_context(struct gss_ctx **context_handle)
return(GSS_S_NO_CONTEXT);
mech = (*context_handle)->mech_type;
-
if ((*context_handle)->internal_ctx_id != 0
) {
+
if ((*context_handle)->internal_ctx_id != NULL
) {
LASSERT(mech);
LASSERT(mech->gm_ops);
LASSERT(mech->gm_ops->gss_delete_sec_context);