diff options
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/mballoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 415e11f1e9ee..72d5ceb18523 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c | |||
@@ -3935,7 +3935,7 @@ static void ext4_mb_group_or_file(struct ext4_allocation_context *ac) | |||
3935 | 3935 | ||
3936 | /* don't use group allocation for large files */ | 3936 | /* don't use group allocation for large files */ |
3937 | size = max(size, isize); | 3937 | size = max(size, isize); |
3938 | if (size >= sbi->s_mb_stream_request) { | 3938 | if (size > sbi->s_mb_stream_request) { |
3939 | ac->ac_flags |= EXT4_MB_STREAM_ALLOC; | 3939 | ac->ac_flags |= EXT4_MB_STREAM_ALLOC; |
3940 | return; | 3940 | return; |
3941 | } | 3941 | } |