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>
This commit is contained in:
parent
8b84de7940
commit
e0b49868d3
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue