From: Lucian Petrut Date: Wed, 28 Apr 2021 12:12:27 +0000 (+0000) Subject: include: define AT_REMOVEDIR on Windows X-Git-Tag: v17.1.0~2117^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4aab6e3c79cb00cf0b921f2b041281692a6c10de;p=ceph.git include: define AT_REMOVEDIR on Windows The AT_REMOVEDIR flag is used by a recent change [1] but isn't defined on Windows. This commit will add the missing definition. Note that it won't be passed to OS functions, only being used at the CephFS level. [1] https://github.com/ceph/ceph/pull/40810 Signed-off-by: Lucian Petrut --- diff --git a/src/include/win32/fs_compat.h b/src/include/win32/fs_compat.h index ef699e0420b8..c3405e670f95 100644 --- a/src/include/win32/fs_compat.h +++ b/src/include/win32/fs_compat.h @@ -31,5 +31,6 @@ #define LOCK_RW 192 #define AT_SYMLINK_NOFOLLOW 0x100 +#define AT_REMOVEDIR 0x200 #define MAXSYMLINKS 65000