aboutsummaryrefslogtreecommitdiff
path: root/fs/nilfs2/mdt.c
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-04-28 23:38:46 +0900
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-05-09 13:36:56 +0900
commit85c2a74fabadfc561b75fbd7decc6bcbfe873d57 (patch)
treead0adcd8377412184a9a5bac9fea3191cbea29ca /fs/nilfs2/mdt.c
parent091bf7624d1c90cec9e578a18529f615213ff847 (diff)
downloadlinux-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/mdt.c')
0 files changed, 0 insertions, 0 deletions