From: jiangyiwen Date: Wed, 10 Dec 2014 23:42:02 +0000 (-0800) Subject: ocfs2: do not set filesystem readonly if link down X-Git-Tag: omap-for-v3.19/fixes-rc1~142^2~171 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61fb9ea4b3e1f22341f7d817db18884062b08601;p=pandora-kernel.git ocfs2: do not set filesystem readonly if link down Do not set the filesystem readonly if the storage link is down. In this case, metadata is not corrupted and only -EIO is returned. And if it is indeed corrupted metadata, it has already called ocfs2_error() in ocfs2_validate_inode_block(). Signed-off-by: Yiwen Jiang Cc: Joel Becker Cc: Mark Fasheh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed