On 02/20/2016 10:45 AM, Ilya Dryomov wrote: > Signed-off-by: Ilya Dryomov <idryomov@xxxxxxxxx> Looks good. Reviewed-by: Alex Elder <elder@xxxxxxxxxx> > --- > net/ceph/messenger.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c > index dd7c1b7f932b..43edf897c9eb 100644 > --- a/net/ceph/messenger.c > +++ b/net/ceph/messenger.c > @@ -3085,10 +3085,7 @@ void ceph_msg_revoke(struct ceph_msg *msg) > con->out_skip += con_out_kvec_skip(con); > } else { > BUG_ON(!msg->data_length); > - if (con->peer_features & CEPH_FEATURE_MSG_AUTH) > - con->out_skip += sizeof(msg->footer); > - else > - con->out_skip += sizeof(msg->old_footer); > + con->out_skip += sizeof_footer(con); > } > /* data, middle, front */ > if (msg->data_length) > -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html