commit | 0cf5537b158caae42bcc03f0f6db10f68585b1ec | [log] [tgz] |
---|---|---|
author | Yehuda Sadeh <yehuda@hq.newdream.net> | Fri Jun 11 15:57:06 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Sun Jun 13 10:34:36 2010 -0700 |
tree | a64e764eff79981bbcac289e33f8022096be0cbe | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 [diff] [blame] |
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>
diff --git a/fs/ceph/auth_x.c b/fs/ceph/auth_x.c index 83d4d27..3fe4904 100644 --- a/fs/ceph/auth_x.c +++ b/fs/ceph/auth_x.c
@@ -493,7 +493,7 @@ 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) {