]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ext4/mballoc.c
ext4: Get journal write access before modifying the extent tree
[linux-2.6-omap-h63xx.git] / fs / ext4 / mballoc.c
index dd0fcfcb35ce85f9af3b81331a20b14348b48694..2121184a3fa502574da27d48b9d9cbb9b60a90f8 100644 (file)
@@ -906,7 +906,7 @@ static void ext4_mb_mark_free_simple(struct super_block *sb,
        unsigned short chunk;
        unsigned short border;
 
-       BUG_ON(len >= EXT4_BLOCKS_PER_GROUP(sb));
+       BUG_ON(len > EXT4_BLOCKS_PER_GROUP(sb));
 
        border = 2 << sb->s_blocksize_bits;