From: Alex Elder Date: Sat, 16 Feb 2013 04:10:17 +0000 (-0600) Subject: libceph: make ceph_msg->bio_seg be unsigned X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~252 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07c09b725543ff2958c11522d583f90f7fdba735;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin --- Reading git-diff-tree failed