UBIFS: remove manual O_SYNC handling
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Sep 2009 20:17:16 +0000 (22:17 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 24 Nov 2009 06:18:55 +0000 (08:18 +0200)
commit774888bcd646c7055ac69ad4fd0c0fff0827ee39
tree7651125c8ba02bc64ba7507d0599c2e37bb159eb
parent9722324e65a017ea0ce39236a2f87c649bb7c39d
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: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/file.c