ceph: fix direct io truncate offset
authorSage Weil <sage@newdream.net>
Thu, 22 Apr 2010 20:48:59 +0000 (13:48 -0700)
committerSage Weil <sage@newdream.net>
Mon, 3 May 2010 17:49:25 +0000 (10:49 -0700)
commit5c6a2cdb4fe8aaf6b54f022c14f13d2a12b45914
tree68b777f391b68f91ba8c587ded4f9d9526f9279a
parentae18756b9fa7bb93132cff06cd8575e3d46633f9
ceph: fix direct io truncate offset

truncate_inode_pages_range wants the end offset to align with the last byte
in a page.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/file.c