ceph: use page_offset() in ceph_writepages_start()
authorAlex Elder <elder@inktank.com>
Wed, 3 Apr 2013 20:03:53 +0000 (15:03 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:17:53 +0000 (21:17 -0700)
commit25d71cb92d8eb48df9cbd8cc4bb28e88ee8e88d9
treefcb5cbf66c8f41698317238699e94e383d0895fe
parentef4859d6479d19bcc65c3156cf3b7dd747355c29
ceph: use page_offset() in ceph_writepages_start()

There's one spot in ceph_writepages_start() that open-codes what
page_offset() does safely.  Use the macro so we don't have to worry
about wrapping.

This resolves:
    http://tracker.ceph.com/issues/4648

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
fs/ceph/addr.c