Whamcloud - gitweb
LU-1102 crypto: correctly check crypto_alloc_blkcipher returns
authorBobi Jam <bobijam@whamcloud.com>
Wed, 9 May 2012 19:22:58 +0000 (03:22 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 16 May 2012 23:13:02 +0000 (19:13 -0400)
commitad8dee856e37ef8c5ac4ba8466ce14e941ccd268
tree4d60e88b9d01f6e7be94ef97f7b3531d93f2bbf4
parente9daba96e0a6bbe898b3d6207b2fe4bdd3293181
LU-1102 crypto: correctly check crypto_alloc_blkcipher returns

ll_crypto_alloc_blkcipher() returns error value as well as possible
NULL pointer, should check its return value carefully.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I181b236406e2649580a04940886f849ad6071078
Reviewed-on: http://review.whamcloud.com/2703
Reviewed-by: Lai Siyao <laisiyao@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/linux/lustre_compat25.h
lustre/obdclass/capa.c
lustre/ptlrpc/gss/gss_krb5_mech.c