diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-04-28 23:38:46 +0900 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-05-09 13:36:56 +0900 |
commit | 85c2a74fabadfc561b75fbd7decc6bcbfe873d57 (patch) | |
tree | ad0adcd8377412184a9a5bac9fea3191cbea29ca /fs/nilfs2/alloc.h | |
parent | 091bf7624d1c90cec9e578a18529f615213ff847 (diff) | |
download | op-kernel-dev-85c2a74fabadfc561b75fbd7decc6bcbfe873d57.zip op-kernel-dev-85c2a74fabadfc561b75fbd7decc6bcbfe873d57.tar.gz |
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>
Diffstat (limited to 'fs/nilfs2/alloc.h')
0 files changed, 0 insertions, 0 deletions