diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2009-06-14 16:52:10 +0300 |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2009-06-21 17:53:47 +0300 |
commit | baaf94cdc7fe1c61e3c660a3b055724fd9d0a034 (patch) | |
tree | b6f1704f38e39801df39b231e19b514d3b4b0ddf /fs/exofs/super.c | |
parent | 27d2e1491985e95c486d991302e399f5c584b4eb (diff) | |
download | blackbird-op-linux-baaf94cdc7fe1c61e3c660a3b055724fd9d0a034.tar.gz blackbird-op-linux-baaf94cdc7fe1c61e3c660a3b055724fd9d0a034.zip |
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>
Diffstat (limited to 'fs/exofs/super.c')
-rw-r--r-- | fs/exofs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exofs/super.c b/fs/exofs/super.c index e47b38e55a26..a343b4ea62f6 100644 --- a/fs/exofs/super.c +++ b/fs/exofs/super.c @@ -198,7 +198,7 @@ static const struct export_operations exofs_export_ops; /* * Write the superblock to the OSD */ -static int exofs_sync_fs(struct super_block *sb, int wait) +int exofs_sync_fs(struct super_block *sb, int wait) { struct exofs_sb_info *sbi; struct exofs_fscb *fscb; |