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, 1 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index dd0fcfcb35ce..2121184a3fa5 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -906,7 +906,7 @@ static void ext4_mb_mark_free_simple(struct super_block *sb,
906 unsigned short chunk; 906 unsigned short chunk;
907 unsigned short border; 907 unsigned short border;
908 908
909 BUG_ON(len >= EXT4_BLOCKS_PER_GROUP(sb)); 909 BUG_ON(len > EXT4_BLOCKS_PER_GROUP(sb));
910 910
911 border = 2 << sb->s_blocksize_bits; 911 border = 2 << sb->s_blocksize_bits;
912 912