Arun Sharma wrote: > > Currently, sys32_fcntl64() is broken, because it passes F_*64 commands > to sys_fcntl(), which it doesn't understand. The F_XXX64 commands need > to be converted to F_XXX before calling sys_fcntl(). > > We also eliminated a copy, because the 32 bit struct flock64 and the 64 > bit struct flock seem to be identical. > Turns out that the structures are not identical (even though the data types of all the members have the same size) due to alignment issues. So the copy can not be eliminated. > This patch is relevant only to 2.4, as it has already been taken care of > in 2.5. A new patch is attached. -Arun