From: Jan Kara Date: Mon, 17 Aug 2009 16:50:08 +0000 (+0200) Subject: ocfs2: Use __generic_file_aio_write instead of generic_file_aio_write_nolock X-Git-Tag: v2.6.32-rc1~697^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=918941a3f3d46c2a69971b4718aaf13b1be2f1a7;p=pandora-kernel.git ocfs2: Use __generic_file_aio_write instead of generic_file_aio_write_nolock Use the new helper. We have to submit data pages ourselves in case of O_SYNC write because __generic_file_aio_write does not do it for us. OCFS2 developpers might think about moving the sync out of i_mutex which seems to be easily possible but that's out of scope of this patch. CC: ocfs2-devel@oss.oracle.com Acked-by: Joel Becker Signed-off-by: Jan Kara --- Reading git-diff-tree failed