mirror of
https://github.com/torvalds/linux.git
synced 2026-02-04 15:28:49 +08:00
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>