diff options
Diffstat (limited to 'fs/ecryptfs')
-rw-r--r-- | fs/ecryptfs/keystore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ecryptfs/keystore.c b/fs/ecryptfs/keystore.c index b85c6a7770a8..e7f029f00c6b 100644 --- a/fs/ecryptfs/keystore.c +++ b/fs/ecryptfs/keystore.c | |||
@@ -1819,11 +1819,11 @@ find_next_matching_auth_tok: | |||
1819 | rc = -EINVAL; | 1819 | rc = -EINVAL; |
1820 | goto out_wipe_list; | 1820 | goto out_wipe_list; |
1821 | } | 1821 | } |
1822 | ecryptfs_find_auth_tok_for_sig(&auth_tok_key, | 1822 | rc = ecryptfs_find_auth_tok_for_sig(&auth_tok_key, |
1823 | &matching_auth_tok, | 1823 | &matching_auth_tok, |
1824 | crypt_stat->mount_crypt_stat, | 1824 | crypt_stat->mount_crypt_stat, |
1825 | candidate_auth_tok_sig); | 1825 | candidate_auth_tok_sig); |
1826 | if (matching_auth_tok) { | 1826 | if (!rc) { |
1827 | found_auth_tok = 1; | 1827 | found_auth_tok = 1; |
1828 | goto found_matching_auth_tok; | 1828 | goto found_matching_auth_tok; |
1829 | } | 1829 | } |