diff options
author | Alex Elder <elder@inktank.com> | 2013-03-01 18:00:14 -0600 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-01 21:16:20 -0700 |
commit | 54ae0756e3847f4350ba24271a2a38be1263dd67 (patch) | |
tree | 7f4746b649790b2e7d69911864ebe0045b6167bb /fs/ceph | |
parent | 53ded495c6ac9f79d9a7f91bac92ba977944306c (diff) | |
download | kernel_goldelico_gta04-54ae0756e3847f4350ba24271a2a38be1263dd67.zip kernel_goldelico_gta04-54ae0756e3847f4350ba24271a2a38be1263dd67.tar.gz kernel_goldelico_gta04-54ae0756e3847f4350ba24271a2a38be1263dd67.tar.bz2 |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c index b87b24f..ecfb738 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; } |