From: Tejun Heo Date: Fri, 22 May 2015 22:23:19 +0000 (-0400) Subject: writeback: clean up wb_dirty_limit() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~117^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d960a383ae7aa791b2833e122ba7519d264cf92;p=pandora-kernel.git writeback: clean up wb_dirty_limit() The function name wb_dirty_limit(), its argument @dirty and the local variable @wb_dirty are mortally confusing given that the function calculates per-wb threshold value not dirty pages, especially given that @dirty and @wb_dirty are used elsewhere for dirty pages. Let's rename the function to wb_calc_thresh() and wb_dirty to wb_thresh. Signed-off-by: Tejun Heo Cc: Jens Axboe Cc: Jan Kara Cc: Wu Fengguang Cc: Greg Thelen Signed-off-by: Jens Axboe --- Reading git-diff-tree failed