KEYS: Merge the type-specific data with the payload data
Merge the type-specific data with the payload data into one four-word chunk as it seems pointless to keep them separate. Use user_key_payload() for accessing the payloads of overloaded user-defined keys. Signed-off-by: David Howells <dhowells@redhat.com> cc: linux-cifs@vger.kernel.org cc: ecryptfs@vger.kernel.org cc: linux-ext4@vger.kernel.org cc: linux-f2fs-devel@lists.sourceforge.net cc: linux-nfs@vger.kernel.org cc: ceph-devel@vger.kernel.org cc: linux-ima-devel@lists.sourceforge.net
This commit is contained in:
parent
4adc605edc
commit
146aa8b145
49 changed files with 286 additions and 230 deletions
|
@ -318,7 +318,7 @@ static int get_secret(struct ceph_crypto_key *dst, const char *name) {
|
|||
goto out;
|
||||
}
|
||||
|
||||
ckey = ukey->payload.data;
|
||||
ckey = ukey->payload.data[0];
|
||||
err = ceph_crypto_key_clone(dst, ckey);
|
||||
if (err)
|
||||
goto out_key;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue