diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 23329d7c9d551254c6b78fa8694b64aac7b6757c..afbbf07f58a7e39199ab0fe83b7465c9b5f87db8 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -3973,9 +3973,9 @@ int ext4_register_li_request(struct super_block *sb, goto out; } - if (test_opt(sb, NO_PREFETCH_BLOCK_BITMAPS) && - (first_not_zeroed == ngroups || sb_rdonly(sb) || - !test_opt(sb, INIT_INODE_TABLE))) + if (sb_rdonly(sb) || + (test_opt(sb, NO_PREFETCH_BLOCK_BITMAPS) && + (first_not_zeroed == ngroups || !test_opt(sb, INIT_INODE_TABLE)))) goto out; elr = ext4_li_request_new(sb, first_not_zeroed);