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,  	int num, ret = 0, used_blks = 0;  	/* This should not happen, but just to be sure check this */ -	if (sb->s_flags & MS_RDONLY) { +	if (sb_rdonly(sb)) {  		ret = 1;  		goto out;  	}  | 

