From: Ryusuke Konishi Date: Tue, 28 Apr 2009 14:38:46 +0000 (+0900) Subject: nilfs2: fix possible recovery failure due to block creation without writer X-Git-Tag: linux-omap-v2.6.30-rc6~19^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85c2a74fabadfc561b75fbd7decc6bcbfe873d57;p=pandora-kernel.git 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 --- Reading git-diff-tree failed