Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0b49868 authored by Alex Elder's avatar Alex Elder
Browse files

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: default avatarAlex Elder <elder@inktank.com>
Reviewed-by: default avatarJosh Durgin <josh.durgin@inktank.com>
parent 8b84de79
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2802,7 +2802,7 @@ static char *rbd_dev_v2_snap_name(struct rbd_device *rbd_dev, u32 which)
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;