Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2021 05:02:56 GMT
From:      Thomas Munro <tmunro@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: da3ef8e66aa1 - main - Fix conflicting value of O_DSYNC.
Message-ID:  <202101080502.10852ubl010373@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tmunro:

URL: https://cgit.FreeBSD.org/src/commit/?id=da3ef8e66aa13db9a79841127a3cbf067de41b69

commit da3ef8e66aa13db9a79841127a3cbf067de41b69
Author:     Thomas Munro <tmunro@FreeBSD.org>
AuthorDate: 2021-01-08 05:01:15 +0000
Commit:     Thomas Munro <tmunro@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101080502.10852ubl010373>