[PATCH] uml: make 64-bit COW files compatible with 32-bit ones
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Wed, 19 Apr 2006 05:20:13 +0000 (22:20 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 19 Apr 2006 16:13:49 +0000 (09:13 -0700)
commit181ae4005d0a4010802be534d929b38c42b9ac06
treee16e0a70cff702b11edb497eee4a4d77f27d104a
parent8bbde0e6d52265158ee9625f383500c1a7d09ba9
[PATCH] uml: make 64-bit COW files compatible with 32-bit ones

This is the minimal fix to make 64-bit UML binaries create 32-bit
compatible COW files and read them.

I've indeed tested that current code doesn't do this - the code gets
SIGFPE for a division by a value read at the wrong place, where 0 is
found.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/cow_user.c