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 71e93a23cec3..ee823022aa34 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c | |||
@@ -1382,7 +1382,7 @@ int ext4_init_inode_table(struct super_block *sb, ext4_group_t group, | |||
1382 | int num, ret = 0, used_blks = 0; | 1382 | int num, ret = 0, used_blks = 0; |
1383 | 1383 | ||
1384 | /* This should not happen, but just to be sure check this */ | 1384 | /* This should not happen, but just to be sure check this */ |
1385 | if (sb->s_flags & MS_RDONLY) { | 1385 | if (sb_rdonly(sb)) { |
1386 | ret = 1; | 1386 | ret = 1; |
1387 | goto out; | 1387 | goto out; |
1388 | } | 1388 | } |