summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-03-02 04:00:15 +0400
committerSage Weil <sage@inktank.com>2013-05-02 08:16:21 +0400
commitcf7b7e1492e97dd0c44479239742eb4cb752eeed (patch)
tree83ed8068f3b0c1138601a763657aa3a2335fd24e /init
parent54ae0756e3847f4350ba24271a2a38be1263dd67 (diff)
downloadlinux-cf7b7e1492e97dd0c44479239742eb4cb752eeed.tar.xz
ceph: use calc_pages_for() in start_read()
There's a spot that computes the number of pages to allocate for a page-aligned length by just shifting it. Use calc_pages_for() instead, to be consistent with usage everywhere else. The result is the same. The reason for this is to make it clearer in an upcoming patch that this calculation is duplicated. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions