projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53ded49
)
libceph: no need for alignment for mds message
author
Alex Elder
<elder@inktank.com>
Sat, 2 Mar 2013 00:00:14 +0000
(18:00 -0600)
committer
Sage Weil
<sage@inktank.com>
Thu, 2 May 2013 04:16:20 +0000
(21:16 -0700)
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>
fs/ceph/mds_client.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/mds_client.c
b/fs/ceph/mds_client.c
index b87b24fed4b26b2f614f70430b1d20715911f7ea..ecfb738bca30a1886a8d3f0da4accfc3d79564bb 100644
(file)
--- 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;
}