From: Alex Elder Date: Wed, 7 Mar 2012 17:40:08 +0000 (-0600) Subject: libceph: rename "page_shift" variable to something sensible X-Git-Tag: v3.4-rc1~76^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bd1966344bf975b5ce65e80fd6bacc41b4325a8;p=pandora-kernel.git libceph: rename "page_shift" variable to something sensible In write_partial_msg_pages() there is a local variable used to track the starting offset within a bio segment to use. Its name, "page_shift" defies the Linux convention of using that name for log-base-2(page size). Since it's only used in the bio case rename it "bio_offset". Use it along with the page_pos field to compute the memory offset when computing CRC's in that function. This makes the bio case match the others more closely. Signed-off-by: Alex Elder Reviewed-by: Sage Weil --- Reading git-diff-tree failed