aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 48d606cd740f..6dea637b020a 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -1326,6 +1326,8 @@ static void ext4_mb_check_limits(struct ext4_allocation_context *ac,
1326 struct ext4_free_extent ex; 1326 struct ext4_free_extent ex;
1327 int max; 1327 int max;
1328 1328
1329 if (ac->ac_status == AC_STATUS_FOUND)
1330 return;
1329 /* 1331 /*
1330 * We don't want to scan for a whole year 1332 * We don't want to scan for a whole year
1331 */ 1333 */