diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2012-01-18 00:39:51 +0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2012-01-18 03:41:29 +0400 |
commit | ee0b31a25a010116f44fca6c96f4516d417793dd (patch) | |
tree | d7670d202d0f4888b5213ed73d88c9a80bd05b74 /net/sunrpc/auth_generic.c | |
parent | efde8b6e16f11e7d1681c68d86c7fd51053cada7 (diff) | |
download | linux-ee0b31a25a010116f44fca6c96f4516d417793dd.tar.xz |
keys: fix trusted/encrypted keys sparse rcu_assign_pointer messages
Define rcu_assign_keypointer(), which uses the key payload.rcudata instead
of payload.data, to resolve the CONFIG_SPARSE_RCU_POINTER message:
"incompatible types in comparison expression (different address spaces)"
Replace the rcu_assign_pointer() calls in encrypted/trusted keys with
rcu_assign_keypointer().
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'net/sunrpc/auth_generic.c')
0 files changed, 0 insertions, 0 deletions