diff --git a/doc/api/fs.md b/doc/api/fs.md
index ce29e33485..76c1061dd8 100644
--- a/doc/api/fs.md
+++ b/doc/api/fs.md
@@ -2806,12 +2806,13 @@ The following constants are meant for use with `fs.open()`.
O_SYNC |
- Flag indicating that the file is opened for synchronous I/O. |
+ Flag indicating that the file is opened for synchronized I/O with write
+ operations waiting for file integrity. |
O_DSYNC |
- Flag indicating that the file is opened for synchronous I/O
- with write operations waiting for data integrity. |
+ Flag indicating that the file is opened for synchronized I/O with write
+ operations waiting for data integrity. |
O_SYMLINK |
diff --git a/test/parallel/test-fs-open-flags.js b/test/parallel/test-fs-open-flags.js
index f480ede4e3..c73dbb5c6e 100644
--- a/test/parallel/test-fs-open-flags.js
+++ b/test/parallel/test-fs-open-flags.js
@@ -81,10 +81,8 @@ common.expectsError(
{ code: 'ERR_INVALID_OPT_VALUE', type: TypeError }
);
-if (common.isLinux === true) {
+if (common.isLinux) {
const file = fixtures.path('a.js');
- fs.open(file, O_DSYNC, common.mustCall(function(err, fd) {
- assert.ifError(err);
- }));
+ fs.open(file, O_DSYNC, common.mustCall(assert.ifError));
}