aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIlya Dryomov2014-12-19 14:00:41 +0300
committerIlya Dryomov2015-01-08 20:36:57 +0300
commitd7d5a007b1c64c617ce3ee30c973ed0bb93443d9 (patch)
tree86fb01a9fe2cf1b73e310057f0805d310a5fdb60 /include
parent0668ff52e2fbca869c579025612e9bcfc4edd40e (diff)
libceph: fix sparse endianness warnings
The only real issue is the one in auth_x.c and it came with 3.19-rc1 merge. Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ceph/osd_client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h
index 5d86416d35f2..61b19c46bdb3 100644
--- a/include/linux/ceph/osd_client.h
+++ b/include/linux/ceph/osd_client.h
@@ -87,8 +87,8 @@ struct ceph_osd_req_op {
struct ceph_osd_data osd_data;
} extent;
struct {
- __le32 name_len;
- __le32 value_len;
+ u32 name_len;
+ u32 value_len;
__u8 cmp_op; /* CEPH_OSD_CMPXATTR_OP_* */
__u8 cmp_mode; /* CEPH_OSD_CMPXATTR_MODE_* */
struct ceph_osd_data osd_data;