From: Alex Elder Date: Sat, 2 Mar 2013 00:00:15 +0000 (-0600) Subject: ceph: use calc_pages_for() in start_read() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~231 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf7b7e1492e97dd0c44479239742eb4cb752eeed;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin --- Reading git-diff-tree failed