aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2012-03-07 17:40:08 +0000
committerAlex Elder <[email protected]>2012-03-22 15:47:52 +0000
commit9bd1966344bf975b5ce65e80fd6bacc41b4325a8 (patch)
tree86ff9e21f79e3d20b1d8feda4bc8000fe18069da /fs/jbd2/commit.c
parentlibceph: get rid of zero_page_address (diff)
downloadkernel-9bd1966344bf975b5ce65e80fd6bacc41b4325a8.tar.gz
kernel-9bd1966344bf975b5ce65e80fd6bacc41b4325a8.zip
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 <[email protected]> Reviewed-by: Sage Weil <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions