summaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>2011-05-02 07:39:54 +0200
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>2011-05-29 21:24:24 +0200
commit7a86617e553f47761b10f57de472d7262562b7de (patch)
tree63ae402692eae9b062b3423b6d081ebe9a192d36 /lib/string.c
parenteCryptfs: Fix new inode race condition (diff)
downloadlinux-7a86617e553f47761b10f57de472d7262562b7de.tar.xz
linux-7a86617e553f47761b10f57de472d7262562b7de.zip
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>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions