summaryrefslogtreecommitdiff
path: root/mm/mmu_context.c
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-03-29 19:28:03 (GMT)
committerSage Weil <sage@inktank.com>2013-05-02 04:17:41 (GMT)
commit0baa1bd9b6da7161dc1773b1dfce3adfd37d675f (patch)
tree30986227e5b5bdc0884066015ad78a3ce04bc79c /mm/mmu_context.c
parent56fc5659162965ce3018a34c6bb8a022f3a3b33c (diff)
downloadlinux-fsl-qoriq-0baa1bd9b6da7161dc1773b1dfce3adfd37d675f.tar.xz
libceph: be explicit in masking bottom 16 bits
In ceph_osdc_build_request() there is a call to cpu_to_le16() which provides a 64-bit value as its argument. Because of the implied byte swapping going on it looked pretty suspect to me. At the moment it turns out the behavior is well defined, but masking off those bottom bits explicitly eliminates this distraction, and is in fact more directly related to the purpose of the message header's data_off field. This resolves: http://tracker.ceph.com/issues/4125 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'mm/mmu_context.c')
0 files changed, 0 insertions, 0 deletions