diff options
author | Alex Elder <elder@inktank.com> | 2013-02-15 22:10:17 -0600 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-01 21:14:23 -0700 |
commit | 07c09b725543ff2958c11522d583f90f7fdba735 (patch) | |
tree | e59ccdb0798fb56c4d2d34bbe1952b1de9cfdf6c /net/ceph/osd_client.c | |
parent | 3ff5f385b1449a07372d51fb89ca94dbfb6a3be2 (diff) | |
download | linux-07c09b725543ff2958c11522d583f90f7fdba735.tar.gz linux-07c09b725543ff2958c11522d583f90f7fdba735.tar.bz2 linux-07c09b725543ff2958c11522d583f90f7fdba735.zip |
libceph: make ceph_msg->bio_seg be unsigned
The bio_seg field is used by the ceph messenger in iterating through
a bio. It should never have a negative value, so make it an
unsigned. (I contemplated making it unsigned short to match the
struct bio definition, but it offered no benefit.)
Change variables used to hold bio_seg values to all be unsigned as
well. Change two variable names in init_bio_iter() to match the
convention used everywhere else.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'net/ceph/osd_client.c')
0 files changed, 0 insertions, 0 deletions