From: Ryusuke Konishi Date: Sun, 5 Apr 2009 09:30:58 +0000 (+0900) Subject: nilfs2: fix possible mismatch of sufile counters on recovery X-Git-Tag: v2.6.30-rc2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c85399c2da8b86de8f6877980294fa1a4a88a5a4;p=pandora-kernel.git nilfs2: fix possible mismatch of sufile counters on recovery On-disk counters ndirtysegs and ncleansegs of sufile, can go wrong after roll-forward recovery because nilfs_prepare_segment_for_recovery() function marks segments dirty without adjusting value of these counters. This fixes the problem by adding a function to sufile which does the operation adjusting the counters, and by letting the recovery function use it. Signed-off-by: Ryusuke Konishi --- Reading git-diff-tree failed