From: Joseph Qi Date: Fri, 4 Sep 2015 22:43:43 +0000 (-0700) Subject: ocfs2: do not BUG if buffer not uptodate in __ocfs2_journal_access X-Git-Tag: omap-for-v4.3/fixes-rc1~87^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acf8fdbe6afb084666df347602fe4258f1cf5fd5;p=pandora-kernel.git ocfs2: do not BUG if buffer not uptodate in __ocfs2_journal_access When storage network is unstable, it may trigger the BUG in __ocfs2_journal_access because of buffer not uptodate. We can retry the write in this case or return error instead of BUG. Signed-off-by: Joseph Qi Reported-by: Zhangguanghui Tested-by: Zhangguanghui Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed