ceph: fix fallocate division
authorSage Weil <sage@inktank.com>
Tue, 27 Aug 2013 19:15:16 +0000 (12:15 -0700)
committerSage Weil <sage@inktank.com>
Tue, 27 Aug 2013 19:26:29 +0000 (12:26 -0700)
commitb314a90d8f3f1d16ec45744e5e2141ea6e14e034
treeda7c19d362ab97d8de74614fb1a72575640ed445
parentad7a60de882aca31afb58721db166f7e77afcd92
ceph: fix fallocate division

We need to use do_div to divide by a 64-bit value.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
fs/ceph/file.c