Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b28541a
)
typo.
author
lsy
<lsy>
Tue, 20 Sep 2005 16:23:46 +0000
(16:23 +0000)
committer
lsy
<lsy>
Tue, 20 Sep 2005 16:23:46 +0000
(16:23 +0000)
lustre/obdclass/capa.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/capa.c
b/lustre/obdclass/capa.c
index
4d27fef
..
36caa80
100644
(file)
--- a/
lustre/obdclass/capa.c
+++ b/
lustre/obdclass/capa.c
@@
-360,9
+360,9
@@
void capa_hmac(struct crypto_tfm *tfm, __u8 *key, struct lustre_capa *capa)
LASSERT(tfm);
crypto_hmac(tfm, key, &keylen, &sl, 1, capa->lc_hmac);
{
- char *buf;
+ char *buf
= NULL
;
- OBD_ALLOC(
key
, keylen * 2 + 1);
+ OBD_ALLOC(
buf
, keylen * 2 + 1);
if (key) {
dump_capa_key(buf, key);
DEBUG_CAPA(D_INODE, capa, "hmac with %s", buf);