]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[PATCH] ecryptfs: fix crypto_alloc_blkcipher() error check
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 28 Nov 2006 20:29:49 +0000 (12:29 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 29 Nov 2006 01:26:50 +0000 (17:26 -0800)
commitde88777e6942de76410ad2eb2858f5fbb6eb9c35
tree825106cd3660dd473920008669c07fa209b85d98
parent3cce4856ff3dfa663b1a168dab48120d70820da6
[PATCH] ecryptfs: fix crypto_alloc_blkcipher() error check

The return value of crypto_alloc_blkcipher() should be checked by IS_ERR().

Cc: Mike Halcrow <mhalcrow@us.ibm.com>
Cc: Phillip Hellewell <phillip@hellewell.homeip.net>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ecryptfs/crypto.c