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

generic_file_aio_write already calls into ->fsync to handle O_SYNC/O_DSYNC.
Remove the duplicate manual invocation.

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