diff options
Diffstat (limited to 'fs/ext2/super.c')
-rw-r--r-- | fs/ext2/super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 20d6697bd638..3750031cfa2f 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c | |||
@@ -192,7 +192,7 @@ static void init_once(void *foo) | |||
192 | inode_init_once(&ei->vfs_inode); | 192 | inode_init_once(&ei->vfs_inode); |
193 | } | 193 | } |
194 | 194 | ||
195 | static int init_inodecache(void) | 195 | static int __init init_inodecache(void) |
196 | { | 196 | { |
197 | ext2_inode_cachep = kmem_cache_create("ext2_inode_cache", | 197 | ext2_inode_cachep = kmem_cache_create("ext2_inode_cache", |
198 | sizeof(struct ext2_inode_info), | 198 | sizeof(struct ext2_inode_info), |
@@ -1254,6 +1254,7 @@ static int ext2_remount (struct super_block * sb, int * flags, char * data) | |||
1254 | unsigned long old_sb_flags; | 1254 | unsigned long old_sb_flags; |
1255 | int err; | 1255 | int err; |
1256 | 1256 | ||
1257 | sync_filesystem(sb); | ||
1257 | spin_lock(&sbi->s_lock); | 1258 | spin_lock(&sbi->s_lock); |
1258 | 1259 | ||
1259 | /* Store the old options */ | 1260 | /* Store the old options */ |