From: Roberto Sassu Date: Wed, 6 Oct 2010 16:31:15 +0000 (+0200) Subject: ecryptfs: checking return code of ecryptfs_find_auth_tok_for_sig() X-Git-Tag: v2.6.37-rc1~34^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39fac853a758306285404368fbe392408057b136;p=pandora-kernel.git ecryptfs: checking return code of ecryptfs_find_auth_tok_for_sig() This patch replaces the check of the 'matching_auth_tok' pointer with the exit status of ecryptfs_find_auth_tok_for_sig(). This avoids to use authentication tokens obtained through the function ecryptfs_keyring_auth_tok_for_sig which are not valid. Signed-off-by: Roberto Sassu Cc: Dustin Kirkland Cc: James Morris Signed-off-by: Tyler Hicks --- Reading git-diff-tree failed