Ryusuke Konishi 85c2a74fab nilfs2: fix possible recovery failure due to block creation without writer
Some function calls in nilfs_prepare_segment_for_recovery() may fail
because they can create blocks on meta data files without configuring
a writable FS-instance.  Concretely, nilfs_mdt_create_block() routine
of meta data files will fail in that case.

This fixes the problem by temporarily attaching a writable FS-instace
during the function is called.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
2009-05-09 13:36:56 +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: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