2001-10-17 18:40:53

by Chip Salzenberg

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

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. - <[email protected]>
"We have no fuel on board, plus or minus 8 kilograms." -- NEAR tech


Attachments:
(No filename) (450.00 B)
pre3-loop-blksize-int-fix (1.33 kB)
Download all attachments