summaryrefslogtreecommitdiffstats
path: root/fs/logfs/file.c
diff options
context:
space:
mode:
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)
struct super_block *sb = dentry->d_inode->i_sb;
struct logfs_super *super = logfs_super(sb);
- /* FIXME: write anchor */
- super->s_devops->sync(sb);
+ logfs_write_anchor(sb);
return 0;
}