aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exofs/exofs.h
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2009-06-14 09:52:10 -0400
committerBoaz Harrosh <bharrosh@panasas.com>2009-06-21 10:53:47 -0400
commitbaaf94cdc7fe1c61e3c660a3b055724fd9d0a034 (patch)
treeb6f1704f38e39801df39b231e19b514d3b4b0ddf /fs/exofs/exofs.h
parent27d2e1491985e95c486d991302e399f5c584b4eb (diff)
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/exofs.h')
-rw-r--r--fs/exofs/exofs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/exofs/exofs.h b/fs/exofs/exofs.h
index c413b74ecf31..5ec72e020b22 100644
--- a/fs/exofs/exofs.h
+++ b/fs/exofs/exofs.h
@@ -154,6 +154,9 @@ ino_t exofs_parent_ino(struct dentry *child);
154int exofs_set_link(struct inode *, struct exofs_dir_entry *, struct page *, 154int exofs_set_link(struct inode *, struct exofs_dir_entry *, struct page *,
155 struct inode *); 155 struct inode *);
156 156
157/* super.c */
158int exofs_sync_fs(struct super_block *sb, int wait);
159
157/********************* 160/*********************
158 * operation vectors * 161 * operation vectors *
159 *********************/ 162 *********************/