rbd: endian bug in rbd_req_cb()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Jun 2012 14:15:33 +0000 (09:15 -0500)
committerAlex Elder <elder@dreamhost.com>
Wed, 6 Jun 2012 14:23:54 +0000 (09:23 -0500)
commit895cfcc810e53d7d36639969c71efb9087221167
tree4e97c3aaa7d77e12e187b8fb2eda3c115d9418fe
parentf9f9a1904467816452fc70740165030e84c2c659
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>
drivers/block/rbd.c