diff options
author | Alex Elder <elder@inktank.com> | 2013-01-09 14:44:18 -0600 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2013-01-17 16:35:55 -0600 |
commit | e0b49868d3629708eda593b6739cb78f33ab238a (patch) | |
tree | f9a5c0683f86bf5a102df3932cc1cc98472cad09 /drivers/block | |
parent | 8b84de7940b69fd7326946ba244621aa5fc412e0 (diff) | |
download | op-kernel-dev-e0b49868d3629708eda593b6739cb78f33ab238a.zip op-kernel-dev-e0b49868d3629708eda593b6739cb78f33ab238a.tar.gz |
rbd: fix type of snap_id in rbd_dev_v2_snap_info()
The type of the snap_id local variable is defined with the
wrong byte order. Fix that.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/rbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index a3a11c3..007b726 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c @@ -2802,7 +2802,7 @@ out: static char *rbd_dev_v2_snap_info(struct rbd_device *rbd_dev, u32 which, u64 *snap_size, u64 *snap_features) { - __le64 snap_id; + u64 snap_id; u8 order; int ret; |