Ryusuke Konishi c85399c2da 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 <konishi.ryusuke@lab.ntt.co.jp>
2009-04-13 09:53:52 +09:00
..
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:14 -07:00
2009-04-07 08:31:19 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:19 -07:00
2009-04-07 08:31:20 -07:00
2009-04-07 08:31:14 -07:00
2009-04-07 08:31:14 -07:00
2009-04-07 08:31:20 -07:00
2009-04-07 08:31:16 -07:00
2009-04-07 08:31:13 -07:00
2009-04-13 09:53:50 +09:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:15 -07:00
2009-04-13 09:53:50 +09:00