This reverts commit
e05a335a16e0fc8d030962d3c6a75446f6b42f1c.
The revert should no longer be necessary after upstream:
ext4: avoid unnecessary spreading of allocations among groups
See: https://github.com/raspberrypi/linux/issues/5097
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
return 0;
if (ac->ac_criteria >= 2)
return 0;
- if (ext4_test_inode_flag(ac->ac_inode, EXT4_INODE_EXTENTS))
+ if (!ext4_test_inode_flag(ac->ac_inode, EXT4_INODE_EXTENTS))
return 0;
return 1;
}