[PATCH] Fix raid0's attempt to divide by 64bit numbers
authorNeil Brown <neilb@cse.unsw.edu.au>
Fri, 15 Jul 2005 10:56:27 +0000 (03:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 15 Jul 2005 16:54:50 +0000 (09:54 -0700)
commit1eb29128c644581fa51f822545921394ad4f719f
tree936f6c517e2d8acd927a0b9e30ab07ed8b9ae58f
parent030babac6ae54df64ae3bba4685ecb1d8d8dd8c3
[PATCH] Fix raid0's attempt to divide by 64bit numbers

Apparently sector_div is only guaranteed to work with a 32bit divisor, even
on 64bit architectures.  So allow for this in raid0.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid0.c