O_DIRECT wrong #define

From: Andrea Arcangeli (andrea@suse.de)
Date: Thu Jun 14 2001 - 08:51:12 EST


The O_DIRECT #define is broken:

#define O_SYNC 040000
[..]
#define O_DIRECT 040000 /* direct disk access - should check with OSF/1 */

I got a bugreport yesterday about O_SYNC returning -EINVAL because of
that.

Do you know how Digital Unix defines O_DIRECT so we can try to be binary
compatible (in case Digital unix also enforces a softblocksize alignment
and size on the buffer?)?

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org



This archive was generated by hypermail 2b29 : Fri Jun 15 2001 - 21:00:27 EST