aboutsummaryrefslogtreecommitdiffstats
path: root/fs/logfs/file.c
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2010-05-05 16:33:36 -0400
committerJoern Engel <joern@logfs.org>2010-05-05 16:33:36 -0400
commitc0c79c31c9d5fcc19812c6c35f842baf50ee788a (patch)
tree85b3ee846f70f461add9b7cb1e08f3030992e2fb /fs/logfs/file.c
parentbba0b5c2c27e6dadc93c476f8a4b49d108b66292 (diff)
logfs: fix sync
Rather self-explanatory. Signed-off-by: Joern Engel <joern@logfs.org>
Diffstat (limited to 'fs/logfs/file.c')
-rw-r--r--fs/logfs/file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/logfs/file.c b/fs/logfs/file.c
index bf9b1cf953a6..1639e9235f56 100644
--- a/fs/logfs/file.c
+++ b/fs/logfs/file.c
@@ -224,8 +224,7 @@ int logfs_fsync(struct file *file, struct dentry *dentry, int datasync)
224 struct super_block *sb = dentry->d_inode->i_sb; 224 struct super_block *sb = dentry->d_inode->i_sb;
225 struct logfs_super *super = logfs_super(sb); 225 struct logfs_super *super = logfs_super(sb);
226 226
227 /* FIXME: write anchor */ 227 logfs_write_anchor(sb);
228 super->s_devops->sync(sb);
229 return 0; 228 return 0;
230} 229}
231 230