commit | 8a29f2b0288ba2a8fb302f9a639521ac9ff302e5 | [log] [tgz] |
---|---|---|
author | Michael Halcrow <mhalcrow@us.ibm.com> | Mon Nov 05 14:51:04 2007 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Mon Nov 05 15:12:33 2007 -0800 |
tree | 384f27ea6300fe50345b0ab5cd7fdad23d0bdb79 | |
parent | 778d1a2bd42ae862a6c6d20a1c3af5e45b3c1924 [diff] |
eCryptfs: release mutex on hash error path Release the crypt_stat hash mutex on allocation error. Check for error conditions when doing crypto hash calls. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> Reported-by: Kazuki Ohta <kazuki.ohta@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>