Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54ae0756 authored by Alex Elder's avatar Alex Elder Committed by Sage Weil
Browse files

libceph: no need for alignment for mds message



Currently, incoming mds messages never use page data, which means
there is no need to set the page_alignment field in the message.

Signed-off-by: default avatarAlex Elder <elder@inktank.com>
Reviewed-by: default avatarGreg Farnum <greg@inktank.com>
parent 53ded495
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -3490,7 +3490,6 @@ static struct ceph_msg *mds_alloc_msg(struct ceph_connection *con,
		       type, front_len);
		       type, front_len);
		return NULL;
		return NULL;
	}
	}
	msg->page_alignment = (unsigned int) le16_to_cpu(hdr->data_off);


	return msg;
	return msg;
}
}