|
@@ -715,6 +715,13 @@ struct inode *ext4_new_inode(handle_t *handle, struct inode *dir, int mode)
|
|
|
|
|
|
if (sbi->s_log_groups_per_flex) {
|
|
|
ret2 = find_group_flex(sb, dir, &group);
|
|
|
+ if (ret2 == -1) {
|
|
|
+ ret2 = find_group_other(sb, dir, &group);
|
|
|
+ if (ret2 == 0 && printk_ratelimit())
|
|
|
+ printk(KERN_NOTICE "ext4: find_group_flex "
|
|
|
+ "failed, fallback succeeded dir %lu\n",
|
|
|
+ dir->i_ino);
|
|
|
+ }
|
|
|
goto got_group;
|
|
|
}
|
|
|
|