diff options
Diffstat (limited to 'fs/isofs')
-rw-r--r-- | fs/isofs/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c index 4a9e10ea13f2..4556ce1af5b0 100644 --- a/fs/isofs/inode.c +++ b/fs/isofs/inode.c | |||
@@ -93,7 +93,7 @@ static void init_once(void *foo) | |||
93 | inode_init_once(&ei->vfs_inode); | 93 | inode_init_once(&ei->vfs_inode); |
94 | } | 94 | } |
95 | 95 | ||
96 | static int init_inodecache(void) | 96 | static int __init init_inodecache(void) |
97 | { | 97 | { |
98 | isofs_inode_cachep = kmem_cache_create("isofs_inode_cache", | 98 | isofs_inode_cachep = kmem_cache_create("isofs_inode_cache", |
99 | sizeof(struct iso_inode_info), | 99 | sizeof(struct iso_inode_info), |
@@ -117,6 +117,7 @@ static void destroy_inodecache(void) | |||
117 | 117 | ||
118 | static int isofs_remount(struct super_block *sb, int *flags, char *data) | 118 | static int isofs_remount(struct super_block *sb, int *flags, char *data) |
119 | { | 119 | { |
120 | sync_filesystem(sb); | ||
120 | if (!(*flags & MS_RDONLY)) | 121 | if (!(*flags & MS_RDONLY)) |
121 | return -EROFS; | 122 | return -EROFS; |
122 | return 0; | 123 | return 0; |