KEYS: struct key_preparsed_payload should have two payload pointers
struct key_preparsed_payload should have two payload pointers to correspond with those in struct key. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Steve Dickson <steved@redhat.com> Acked-by: Jeff Layton <jlayton@primarydata.com> Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
@@ -811,7 +811,7 @@ static int encrypted_instantiate(struct key *key,
|
||||
goto out;
|
||||
}
|
||||
|
||||
rcu_assign_keypointer(key, epayload);
|
||||
prep->payload[0] = epayload;
|
||||
out:
|
||||
kfree(datablob);
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user