]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
eCryptfs: release mutex on hash error path
authorMichael Halcrow <mhalcrow@us.ibm.com>
Mon, 5 Nov 2007 22:51:04 +0000 (14:51 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 5 Nov 2007 23:12:33 +0000 (15:12 -0800)
commit8a29f2b0288ba2a8fb302f9a639521ac9ff302e5
tree384f27ea6300fe50345b0ab5cd7fdad23d0bdb79
parent778d1a2bd42ae862a6c6d20a1c3af5e45b3c1924
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>
fs/ecryptfs/crypto.c