exofs: Avoid using file_fsync()
authorBoaz Harrosh <bharrosh@panasas.com>
Sun, 14 Jun 2009 13:52:10 +0000 (16:52 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Sun, 21 Jun 2009 14:53:47 +0000 (17:53 +0300)
commitbaaf94cdc7fe1c61e3c660a3b055724fd9d0a034
treeb6f1704f38e39801df39b231e19b514d3b4b0ddf
parent27d2e1491985e95c486d991302e399f5c584b4eb
exofs: Avoid using file_fsync()

The use of file_fsync() in exofs_file_sync() is not necessary since it
does some extra stuff not used by exofs. Open code just the parts that
are currently needed.

TODO: Farther optimization can be done to sync the sb only on inode
update of new files, Usually the sb update is not needed in exofs.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/exofs.h
fs/exofs/file.c
fs/exofs/super.c