Re: [PATCH] libceph: make ceph_msg-bio_seg be unsigned

2013-02-26 Thread Josh Durgin
Reviewed-by: Josh Durgin josh.dur...@inktank.com On 02/25/2013 02:40 PM, Alex Elder wrote: 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. Change variables used to hold bio_seg values to all be unsigned

[PATCH] libceph: make ceph_msg-bio_seg be unsigned

2013-02-25 Thread Alex Elder
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. 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