commit | 918941a3f3d46c2a69971b4718aaf13b1be2f1a7 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Mon Aug 17 18:50:08 2009 +0200 |
committer | Jan Kara <jack@suse.cz> | Mon Sep 14 17:08:15 2009 +0200 |
tree | 3ef80cb4b8107be981cc87904c7e80c0e383e5e5 | |
parent | b04f932171e8a99bb8ca2f863b2b9eadb85741e8 [diff] |
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 <joel.becker@oracle.com> Signed-off-by: Jan Kara <jack@suse.cz>