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>
Mon, 14 May 2012 16:53:10 +0000 (12:53 -0400)
commit96894b2afb0675ec93eec6260de6d71b296f57dc
tree580ad0815e887f8fa039b52b0524aeb97e33bbfc
parent128b84135aafa1a2d49b8c05feeb2ac3ccdd3294
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