doubts on file_pos_write()

From: Oliver Neukum
Date: Tue Jan 02 2007 - 03:19:00 EST


Hi,

as loff_t is a 64 bit value, it seems to me to a simple assignment
in file_pos_write() means that the offset can be turned into garbage
doing concurrent reads with shared fds around the 4GB limit on 32 bit
architectures.
Comments?

Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/