On Tue, Dec 03, 2013 at 12:57:05PM +0100, Jan Kara wrote: > ext2_quota_write() doesn't properly setup bh it passes to > ext2_get_block() and thus we hit assertion BUG_ON(maxblocks == 0) in > ext2_get_blocks() (or we could actually ask for mapping arbitrary number > of blocks depending on whatever value was on stack). > > Fix ext2_quota_write() to properly fill in number of blocks to map. > > Reported-by: Christoph Hellwig <hch@xxxxxxxxxxxxx> > Signed-off-by: Jan Kara <jack@xxxxxxx> Looks good to me. Reviewed-by: "Theodore Ts'o" <tytso@xxxxxxx> - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html