summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorAlex Elder2013-03-02 01:00:14 +0100
committerSage Weil2013-05-02 06:16:20 +0200
commit54ae0756e3847f4350ba24271a2a38be1263dd67 (patch)
tree7f4746b649790b2e7d69911864ebe0045b6167bb /fs/ceph
parentlibceph: define mds_alloc_msg() method (diff)
downloadkernel-qcow2-linux-54ae0756e3847f4350ba24271a2a38be1263dd67.tar.gz
kernel-qcow2-linux-54ae0756e3847f4350ba24271a2a38be1263dd67.tar.xz
kernel-qcow2-linux-54ae0756e3847f4350ba24271a2a38be1263dd67.zip
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')
-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;
}