libceph: fix page calculation for non-page-aligned io
authorSage Weil <sage@newdream.net>
Mon, 13 Jun 2011 23:20:18 +0000 (16:20 -0700)
committerSage Weil <sage@newdream.net>
Mon, 13 Jun 2011 23:26:17 +0000 (16:26 -0700)
Set the page count correctly for non-page-aligned IO.  We were already
doing this correctly for alignment, but not the page count.  Fixes
DIRECT_IO writes from unaligned pages.

Signed-off-by: Sage Weil <sage@newdream.net>

No differences found