diff options
Diffstat (limited to 'fs/ext4/ialloc.c')
-rw-r--r-- | fs/ext4/ialloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index 507bfb3344d4..360e87dbba74 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c | |||
@@ -1355,7 +1355,7 @@ int ext4_init_inode_table(struct super_block *sb, ext4_group_t group, | |||
1355 | int num, ret = 0, used_blks = 0; | 1355 | int num, ret = 0, used_blks = 0; |
1356 | 1356 | ||
1357 | /* This should not happen, but just to be sure check this */ | 1357 | /* This should not happen, but just to be sure check this */ |
1358 | if (sb->s_flags & MS_RDONLY) { | 1358 | if (sb_rdonly(sb)) { |
1359 | ret = 1; | 1359 | ret = 1; |
1360 | goto out; | 1360 | goto out; |
1361 | } | 1361 | } |