[PATCH] device-mapper: fix TB stripe data corruption
In stripe_map(), change chunk to 64-bit and use do_div to divide and mod by the number of stripes. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment