[PATCH] 2.4.13pre3: loop uses wrong type for blk_size[]

From: Chip Salzenberg (chip@pobox.com)
Date: Wed Oct 17 2001 - 13:40:46 EST


In 2.4.13pre3, the loop device was changed to use an array of unsigned
long for its entry in blk_size[]. This is broken, because blk_size[]
is of type 'int * []'. A patch is attached which fixes this problem
while still retaining the presumably intended behavior of working
properly with large devices.

-- 
Chip Salzenberg               - a.k.a. -              <chip@pobox.com>
 "We have no fuel on board, plus or minus 8 kilograms."  -- NEAR tech


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 23 2001 - 21:00:18 EST