diff options
author | Yehuda Sadeh <yehuda@hq.newdream.net> | 2010-06-11 15:57:06 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-06-13 10:34:36 -0700 |
commit | 0cf5537b158caae42bcc03f0f6db10f68585b1ec (patch) | |
tree | a64e764eff79981bbcac289e33f8022096be0cbe /fs/ceph/auth_x.c | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff) | |
download | linux-3.10-0cf5537b158caae42bcc03f0f6db10f68585b1ec.tar.gz linux-3.10-0cf5537b158caae42bcc03f0f6db10f68585b1ec.tar.bz2 linux-3.10-0cf5537b158caae42bcc03f0f6db10f68585b1ec.zip |
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/auth_x.c')
-rw-r--r-- | fs/ceph/auth_x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/auth_x.c b/fs/ceph/auth_x.c index 83d4d2785ff..3fe49042d8a 100644 --- a/fs/ceph/auth_x.c +++ b/fs/ceph/auth_x.c @@ -493,7 +493,7 @@ static int ceph_x_handle_reply(struct ceph_auth_client *ac, int result, return -EAGAIN; } - op = le32_to_cpu(head->op); + op = le16_to_cpu(head->op); result = le32_to_cpu(head->result); dout("handle_reply op %d result %d\n", op, result); switch (op) { |