From: Ryusuke Konishi Date: Mon, 2 Nov 2009 15:25:53 +0000 (+0900) Subject: nilfs2: fix dirty page accounting leak causing hang at write X-Git-Tag: v2.6.32-rc6~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1e19e5601277845b4f17ecd7c9ba04f73ee11aa;p=pandora-kernel.git nilfs2: fix dirty page accounting leak causing hang at write Bruno Prémont and Dunphy, Bill noticed me that NILFS will certainly hang on ARM-based targets. I found this was caused by an underflow of dirty pages counter. A b-tree cache routine was marking page dirty without adjusting page account information. This fixes the dirty page accounting leak and resolves the hang on arm-based targets. Reported-by: Bruno Prémont Reported-by: Dunphy, Bill Signed-off-by: Ryusuke Konishi Tested-by: Bruno Prémont Cc: stable --- Reading git-diff-tree failed