commit | cf81f89d9a85b1825d8c8cf1f8f0e2c98cc72823 | [log] [tgz] |
---|---|---|
author | Michael Halcrow <mhalcrow@us.ibm.com> | Tue Oct 16 01:28:07 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue Oct 16 09:43:12 2007 -0700 |
tree | ff22f49549bf5caeb3069fffd1e01ab76c8ec218 | |
parent | 5dda6992a3138f3839dcaecbcd2fbea4dd514c7c [diff] |
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>