]> git.karo-electronics.de Git - linux-beck.git/commit
libceph: rename and align ceph_x_authorizer::reply_buf
authorIlya Dryomov <idryomov@gmail.com>
Fri, 2 Dec 2016 15:35:07 +0000 (16:35 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 12 Dec 2016 22:09:19 +0000 (23:09 +0100)
commit7882a26d2e2e520099e2961d5e2e870f8e4172dc
treebe084fd64e02745bf8ab5de2c697517467a11c34
parenta45f795c65b479b4ba107b6ccde29b896d51ee98
libceph: rename and align ceph_x_authorizer::reply_buf

It's going to be used as a temporary buffer for in-place en/decryption
with ceph_crypt() instead of on-stack buffers, so rename to enc_buf.
Ensure alignment to avoid GFP_ATOMIC allocations in the crypto stack.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
net/ceph/auth_x.c
net/ceph/auth_x.h