ubifs: remove manual O_SYNC handling
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Sep 2009 20:17:16 +0000 (22:17 +0200)
committerJan Kara <jack@suse.cz>
Thu, 10 Dec 2009 14:02:51 +0000 (15:02 +0100)
commit5ced58f73554e9d9609a790c5164d10ef91ce8ff
treeadb14893b7b7e65fcd239ca4b0b5650e25b93687
parent027cf316afff03d310281709314fbc0899984759
ubifs: remove manual O_SYNC handling

generic_file_aio_write already calls into ->fsync to handle O_SYNC/O_DSYNC.
Remove the duplicate call to ubifs_sync_wbufs_by_inode which is already
covered by ubifs_fsync.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ubifs/file.c