From: Konstantin Khebnikov Date: Wed, 11 Feb 2015 23:26:55 +0000 (-0800) Subject: page_writeback: put account_page_redirty() after set_page_dirty() X-Git-Tag: fixes-v4.0-rc1~131^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d38633c3b4093aca7524945f1e9249d7d3a44da;p=pandora-kernel.git page_writeback: put account_page_redirty() after set_page_dirty() Helper account_page_redirty() fixes dirty pages counter for redirtied pages. This patch puts it after dirtying and prevents temporary underflows of dirtied pages counters on zone/bdi and current->nr_dirtied. Signed-off-by: Konstantin Khebnikov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed