Whamcloud - gitweb
LU-6082 tests: fix too slow nodemap SLOW test
[fs/lustre-release.git] / lustre / ptlrpc / gss / gss_keyring.c
index 49bbae8..2803721 100644 (file)
@@ -1226,7 +1226,7 @@ int gss_kt_instantiate(struct key *key, const void *data, size_t datalen)
                 RETURN(-EINVAL);
         }
 
-        if (key->payload.data != 0) {
+       if (key->payload.data != NULL) {
                 CERROR("key already have payload\n");
                 RETURN(-EINVAL);
         }