ocfs2: Update syncing after splicing to match generic version
authorJan Kara <jack@suse.cz>
Tue, 18 Aug 2009 16:24:31 +0000 (18:24 +0200)
committerJan Kara <jack@suse.cz>
Mon, 14 Sep 2009 15:08:16 +0000 (17:08 +0200)
commitd23c937b0f740888765676f6f82f509dbbb2bbad
treedf4e085d935805f54061436ee820460c79143087
parentebbbf757c6b8577ac2fb6181c08c2059153bb0e2
ocfs2: Update syncing after splicing to match generic version

Update ocfs2 specific splicing code to use generic syncing helper. The sync now
does not happen under rw_lock because generic_write_sync() acquires i_mutex
which ranks above rw_lock. That should not matter because standard fsync path
does not hold it either.

Acked-by: Joel Becker <Joel.Becker@oracle.com>
Acked-by: Mark Fasheh <mfasheh@suse.com>
CC: ocfs2-devel@oss.oracle.com
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ocfs2/file.c