diff options
author | Alex Elder <elder@dreamhost.com> | 2012-03-07 21:40:08 +0400 |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-03-22 19:47:52 +0400 |
commit | 9bd1966344bf975b5ce65e80fd6bacc41b4325a8 (patch) | |
tree | 86ff9e21f79e3d20b1d8feda4bc8000fe18069da /kernel/.gitignore | |
parent | 0cdf9e60189a87356a865a96dbafc2240af5c91d (diff) | |
download | linux-9bd1966344bf975b5ce65e80fd6bacc41b4325a8.tar.xz |
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 <elder@dreamhost.com>
Reviewed-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'kernel/.gitignore')
0 files changed, 0 insertions, 0 deletions