aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/mon_client.c
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@hq.newdream.net>2010-06-11 15:57:06 -0700
committerSage Weil <sage@newdream.net>2010-06-13 10:34:36 -0700
commit0cf5537b158caae42bcc03f0f6db10f68585b1ec (patch)
treea64e764eff79981bbcac289e33f8022096be0cbe /fs/ceph/mon_client.c
parent7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff)
downloadkernel_samsung_smdk4412-0cf5537b158caae42bcc03f0f6db10f68585b1ec.zip
kernel_samsung_smdk4412-0cf5537b158caae42bcc03f0f6db10f68585b1ec.tar.gz
kernel_samsung_smdk4412-0cf5537b158caae42bcc03f0f6db10f68585b1ec.tar.bz2
ceph: some endianity fixes
Fix some problems that came up with sparse. Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/mon_client.c')
-rw-r--r--fs/ceph/mon_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ceph/mon_client.c b/fs/ceph/mon_client.c
index 07a5399..cc115ea 100644
--- a/fs/ceph/mon_client.c
+++ b/fs/ceph/mon_client.c
@@ -725,7 +725,8 @@ static void handle_auth_reply(struct ceph_mon_client *monc,
dout("authenticated, starting session\n");
monc->client->msgr->inst.name.type = CEPH_ENTITY_TYPE_CLIENT;
- monc->client->msgr->inst.name.num = monc->auth->global_id;
+ monc->client->msgr->inst.name.num =
+ cpu_to_le64(monc->auth->global_id);
__send_subscribe(monc);
__resend_generic_request(monc);