]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ecryptfs: fix error handling
authorMichael Halcrow <mhalcrow@us.ibm.com>
Tue, 16 Oct 2007 08:28:07 +0000 (01:28 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:12 +0000 (09:43 -0700)
commitcf81f89d9a85b1825d8c8cf1f8f0e2c98cc72823
treeff22f49549bf5caeb3069fffd1e01ab76c8ec218
parent5dda6992a3138f3839dcaecbcd2fbea4dd514c7c
ecryptfs: fix error handling

The error paths and the module exit code need work. sysfs
unregistration is not the right place to tear down the crypto
subsystem, and the code to undo subsystem initializations on various
error paths is unnecessarily duplicated. This patch addresses those
issues.

Signed-off-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>
fs/ecryptfs/main.c