From: Tyler Hicks Date: Mon, 2 May 2011 05:39:54 +0000 (-0500) Subject: eCryptfs: Return useful code from contains_ecryptfs_marker X-Git-Tag: v3.0-rc1~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a86617e553f47761b10f57de472d7262562b7de;p=pandora-kernel.git 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 --- Reading git-diff-tree failed