mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
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: Alex Elder <elder@inktank.com> Reviewed-by: Greg Farnum <greg@inktank.com>
This commit is contained in:
parent
53ded495c6
commit
54ae0756e3
@ -3490,7 +3490,6 @@ static struct ceph_msg *mds_alloc_msg(struct ceph_connection *con,
|
||||
type, front_len);
|
||||
return NULL;
|
||||
}
|
||||
msg->page_alignment = (unsigned int) le16_to_cpu(hdr->data_off);
|
||||
|
||||
return msg;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user