rbd: endian bug in rbd_req_cb()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Jun 2012 14:15:33 +0000 (09:15 -0500)
committerSage Weil <sage@inktank.com>
Wed, 18 Jul 2012 04:30:31 +0000 (21:30 -0700)
commit6a3ca4f18873f950895cb64ddefafb51a732e3f7
tree2d2431b333e6ffd98037c8f1b6058ad5d5f17c3c
parent236df3755d944c33120d77e84b5ff6f3917eb307
rbd: endian bug in rbd_req_cb()

Sparse complains about this because:
drivers/block/rbd.c:996:20: warning: cast to restricted __le32
drivers/block/rbd.c:996:20: warning: cast from restricted __le16

These are set in osd_req_encode_op() and they are le16.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Alex Elder <elder@inktank.com>
(cherry picked from commit 895cfcc810e53d7d36639969c71efb9087221167)
drivers/block/rbd.c