Ryusuke Konishi a75de1b379 eCryptfs: fix error handling in ecryptfs_init
ecryptfs_init() exits without doing any cleanup jobs if
ecryptfs_init_messaging() fails.  In that case, eCryptfs leaves
sysfs entries, leaks memory, and causes an invalid page fault.
This patch fixes the problem.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Acked-by: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-08-11 15:47:40 -07:00
..
2007-07-31 15:39:40 -07:00
2007-07-31 15:39:43 -07:00
2007-07-24 16:02:55 -07:00
2007-07-31 15:39:36 -07:00
2007-07-26 11:11:57 -07:00
2007-07-21 17:49:14 -07:00
2007-07-29 17:09:29 -07:00
2007-08-11 15:47:40 -07:00
2007-07-31 15:39:43 -07:00
2007-07-27 08:08:51 +02:00
2007-07-27 15:40:13 -07:00
2007-07-26 11:33:06 -07:00
2007-07-27 08:08:51 +02:00