From 4badc83940fd7c072fd28fe81892c98304d03502 Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Mon, 27 Jan 2025 13:52:00 +0300 Subject: [PATCH] common/ceph_fs: Enable O_DIRECTORY|O_NOFOLLOWUP flags translation under Win in ceph_flags_sys2wire() Signed-off-by: Igor Fedotov --- src/common/ceph_fs.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/common/ceph_fs.cc b/src/common/ceph_fs.cc index 380b401df30..588887c951a 100644 --- a/src/common/ceph_fs.cc +++ b/src/common/ceph_fs.cc @@ -77,13 +77,8 @@ int ceph_flags_sys2wire(int flags) ceph_sys2wire(O_EXCL); ceph_sys2wire(O_TRUNC); - #ifndef _WIN32 ceph_sys2wire(O_DIRECTORY); ceph_sys2wire(O_NOFOLLOW); - // In some cases, FILE_FLAG_BACKUP_SEMANTICS may be used instead - // of O_DIRECTORY. We may need some workarounds in order to handle - // the fact that those flags are not available on Windows. - #endif #undef ceph_sys2wire -- 2.39.5