ecryptfs: fix unlocking in error paths
authorEric Sandeen <sandeen@redhat.com>
Sat, 22 Dec 2007 22:03:26 +0000 (14:03 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 23 Dec 2007 20:54:37 +0000 (12:54 -0800)
commitc8161f64ccdcc3ac05c7bbfebc031e7ad5ca6412
tree24adc1225b4f56b28533efe59ee357fe912403c5
parentc525460e2754dbb33abe2b37d3d941126b2ea830
ecryptfs: fix unlocking in error paths

Thanks to Josef Bacik for finding these.

A couple of ecryptfs error paths don't properly unlock things they locked.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Cc: Josef Bacik <jbacik@redhat.com>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/crypto.c
fs/ecryptfs/messaging.c