linux/fs/ecryptfs
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
..
crypto.c
debug.c
dentry.c
ecryptfs_kernel.h
file.c
inode.c eCryptfs: fix lookup error for special files 2007-08-11 15:47:40 -07:00
keystore.c
main.c eCryptfs: fix error handling in ecryptfs_init 2007-08-11 15:47:40 -07:00
Makefile
messaging.c
mmap.c
netlink.c
super.c