]> git.karo-electronics.de Git - linux-beck.git/commit
ext4 crypto: exit cleanly if ext4_derive_key_aes() fails
authorLaurent Navet <laurent.navet@gmail.com>
Wed, 22 Jul 2015 04:08:08 +0000 (00:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 22 Jul 2015 04:08:08 +0000 (00:08 -0400)
commitd76d99b219e1a233a720775c0451c310d34594e8
tree379e71270b14e8475bbcc8c97c3de71420edaede
parent5ba92bcf0dd63b35a85e90c3016989733b239bb5
ext4 crypto: exit cleanly if ext4_derive_key_aes() fails

Return value of ext4_derive_key_aes() is stored but not used.
Add test to exit cleanly if ext4_derive_key_aes() fail.
Also fix coverity CID 1309760.

Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/crypto_key.c