diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2007-08-10 22:00:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-12 00:47:40 +0200 |
commit | a75de1b3799f8933d6d2b64bdf31194368ec98ab (patch) | |
tree | 9fc97f1b35300ca40463b74ac965e7580d61af70 /kernel/power/snapshot.c | |
parent | linux-audit list is subscribers-only (diff) | |
download | linux-a75de1b3799f8933d6d2b64bdf31194368ec98ab.tar.xz linux-a75de1b3799f8933d6d2b64bdf31194368ec98ab.zip |
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>
Diffstat (limited to 'kernel/power/snapshot.c')
0 files changed, 0 insertions, 0 deletions