commit | 7a86617e553f47761b10f57de472d7262562b7de | [log] [tgz] |
---|---|---|
author | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | Mon May 02 00:39:54 2011 -0500 |
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | Sun May 29 14:24:24 2011 -0500 |
tree | 63ae402692eae9b062b3423b6d081ebe9a192d36 | |
parent | 3b06b3ebf44170c90c893c6c80916db6e922b9f2 [diff] |
eCryptfs: Return useful code from contains_ecryptfs_marker Instead of having the calling functions translate the true/false return code to either 0 or -EINVAL, have contains_ecryptfs_marker() return 0 or -EINVAL so that the calling functions can just reuse the return code. Also, rename the function to ecryptfs_validate_marker() to avoid callers mistakenly thinking that it returns true/false codes. Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>