summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/ioctl.c
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-04-28 16:38:46 +0200
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-05-09 06:36:56 +0200
commit85c2a74fabadfc561b75fbd7decc6bcbfe873d57 (patch)
treead0adcd8377412184a9a5bac9fea3191cbea29ca /fs/nilfs2/ioctl.c
parentLinux 2.6.30-rc5 (diff)
downloadlinux-85c2a74fabadfc561b75fbd7decc6bcbfe873d57.tar.xz
linux-85c2a74fabadfc561b75fbd7decc6bcbfe873d57.zip
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/ioctl.c')
0 files changed, 0 insertions, 0 deletions