summaryrefslogtreecommitdiff
path: root/drivers/block/brd.c
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-08-02 11:29:44 -0500
committerAlex Elder <elder@inktank.com>2012-10-01 14:30:48 -0500
commit0f1d3f938527f319d830ef3082c218c77cfd159f (patch)
tree8edf8b4aebfb073d538c773517789f0f6bfcb065 /drivers/block/brd.c
parent3593815022998ab75379f64735ff67b3ea388cbe (diff)
rbd: make snap_names_len a u64
The snap_names_len field of an rbd_image_header structure is defined with type size_t. That field is used as both the source and target of 64-bit byte-order swapping operations though, so it's best to define it with type u64 instead. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/block/brd.c')
0 files changed, 0 insertions, 0 deletions