From: Jens Axboe Date: Fri, 9 May 2014 21:48:23 +0000 (-0600) Subject: block: only calculate part_in_flight() once X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~49^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7276d02e241dc3595d4a18ac2456fa449e448de7;p=pandora-kernel.git block: only calculate part_in_flight() once We first check if we have inflight IO, then retrieve that same number again. Usually this isn't that costly since the chance of having the data dirtied in between is small, but there's no reason for calling part_in_flight() twice. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed