summaryrefslogtreecommitdiffstats
path: root/fs/ext2/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext2/file.c')
-rw-r--r--fs/ext2/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext2/file.c b/fs/ext2/file.c
index d2c137e2c..130013e50 100644
--- a/fs/ext2/file.c
+++ b/fs/ext2/file.c
@@ -91,6 +91,7 @@ static int ext2_open_file (struct inode * inode, struct file * filp)
return 0;
}
+
/*
* We have mostly NULL's here: the current defaults are ok for
* the ext2 filesystem.
@@ -103,7 +104,7 @@ struct file_operations ext2_file_operations = {
mmap: generic_file_mmap,
open: ext2_open_file,
release: ext2_release_file,
- fsync: ext2_sync_file,
+ fsync: ext2_fsync_file,
};
struct inode_operations ext2_file_inode_operations = {