fuse: clean up fsync
authorMiklos Szeredi <mszeredi@suse.cz>
Mon, 28 Apr 2014 12:19:23 +0000 (14:19 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Mon, 28 Apr 2014 12:19:23 +0000 (14:19 +0200)
Don't need to start I/O twice (once without i_mutex and one within).

Also make sure that even if the userspace filesystem doesn't support FSYNC
we do all the steps other than sending the message.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/file.c

diff --cc fs/fuse/file.c
Simple merge