From: Wengang Wang Date: Tue, 9 Feb 2010 06:57:45 +0000 (+0800) Subject: ocfs2: Clean up the checks for CoW and direct I/O. X-Git-Tag: v2.6.34-rc1~214^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96a1cc731adb28dc4feb71701091b80e67d486a7;p=pandora-kernel.git ocfs2: Clean up the checks for CoW and direct I/O. When ocfs2 has to do CoW for refcounted extents, we disable direct I/O and go through the buffered I/O path. This makes the combined check easier to read. Signed-off-by: Wengang Wang Signed-off-by: Joel Becker --- Reading git-diff-tree failed