libceph: make r_request msg_size calculation clearer
authorIlya Dryomov <idryomov@gmail.com>
Thu, 11 Feb 2016 12:09:15 +0000 (13:09 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Mar 2016 17:51:42 +0000 (18:51 +0100)
commitae458f5a171badcce60bba9024dbdc5488e5e387
tree766f578d38220c28fe13882737539875c780c875
parent7665d85b7307fa0218881bc2009de067c42dc52e
libceph: make r_request msg_size calculation clearer

Although msg_size is calculated correctly, the terms are grouped in
a misleading way - snaps appears to not have room for a u32 length.
Move calculation closer to its use and regroup terms.

No functional change.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/osd_client.c