diff options
Diffstat (limited to 'fs/efs')
-rw-r--r-- | fs/efs/super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/efs/super.c b/fs/efs/super.c index 50215bbd646..3befcc9f5d6 100644 --- a/fs/efs/super.c +++ b/fs/efs/super.c @@ -91,7 +91,7 @@ static void init_once(void *foo) inode_init_once(&ei->vfs_inode); } -static int init_inodecache(void) +static int __init init_inodecache(void) { efs_inode_cachep = kmem_cache_create("efs_inode_cache", sizeof(struct efs_inode_info), @@ -114,6 +114,7 @@ static void destroy_inodecache(void) static int efs_remount(struct super_block *sb, int *flags, char *data) { + sync_filesystem(sb); *flags |= MS_RDONLY; return 0; } |