KEYS: revert encrypted key change

Commit fc7c70e "KEYS: struct key_preparsed_payload should have two
payload pointers" erroneously modified encrypted-keys.  This patch
reverts the change to that file.

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
Mimi Zohar 2014-07-26 23:21:02 -04:00 committed by David Howells
parent f6fd5c84b9
commit b64cc5fb85
1 changed files with 1 additions and 1 deletions

View File

@ -811,7 +811,7 @@ static int encrypted_instantiate(struct key *key,
goto out;
}
prep->payload[0] = epayload;
rcu_assign_keypointer(key, epayload);
out:
kfree(datablob);
return ret;