git: da3ef8e66aa1 - main - Fix conflicting value of O_DSYNC.
Thomas Munro
tmunro at FreeBSD.org
Fri Jan 8 05:02:56 UTC 2021
The branch main has been updated by tmunro:
URL: https://cgit.FreeBSD.org/src/commit/?id=da3ef8e66aa13db9a79841127a3cbf067de41b69
commit da3ef8e66aa13db9a79841127a3cbf067de41b69
Author: Thomas Munro <tmunro at FreeBSD.org>
AuthorDate: 2021-01-08 05:01:15 +0000
Commit: Thomas Munro <tmunro at FreeBSD.org>
CommitDate: 2021-01-08 05:01:15 +0000
Fix conflicting value of O_DSYNC.
O_RESOLVE_BENEATH recently took value 0x00800000, but I failed to spot
that while rebasing. Let's use 0x01000000 for the new O_DSYNC flag.
Reported by: kevans
---
sys/sys/fcntl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/sys/fcntl.h b/sys/sys/fcntl.h
index e2597726c53b..3c29c04e46db 100644
--- a/sys/sys/fcntl.h
+++ b/sys/sys/fcntl.h
@@ -141,7 +141,7 @@ typedef __pid_t pid_t;
return back */
#endif
-#define O_DSYNC 0x00800000 /* POSIX data sync */
+#define O_DSYNC 0x01000000 /* POSIX data sync */
/*
* XXX missing O_RSYNC.
More information about the dev-commits-src-main
mailing list