summaryrefslogtreecommitdiff
path: root/fs/ceph/mds_client.c
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-03-01 18:00:14 -0600
committerSage Weil <sage@inktank.com>2013-05-01 21:16:20 -0700
commit54ae0756e3847f4350ba24271a2a38be1263dd67 (patch)
tree7f4746b649790b2e7d69911864ebe0045b6167bb /fs/ceph/mds_client.c
parent53ded495c6ac9f79d9a7f91bac92ba977944306c (diff)
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>
Diffstat (limited to 'fs/ceph/mds_client.c')
-rw-r--r--fs/ceph/mds_client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index b87b24fed4b2..ecfb738bca30 100644
--- a/fs/ceph/mds_client.c
+++ b/fs/ceph/mds_client.c
@@ -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;
}