]> www.infradead.org Git - users/hch/misc.git/commitdiff
smb3: Add defines for two new FileSystemAttributes
authorSteve French <stfrench@microsoft.com>
Thu, 10 Apr 2025 03:45:05 +0000 (22:45 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 10 Apr 2025 04:42:16 +0000 (23:42 -0500)
Two new file system attributes were recently added. See MS-FSCC 2.5.1:
       FILE_SUPPORTS_POSIX_UNLINK_RENAME and
       FILE_RETURNS_CLEANUP_RESULT_INFO

Update the missing defines for ksmbd and cifs.ko

Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifspdu.h
fs/smb/server/smb_common.h

index 48d0d6f439cf456b07c7bdf9a0f36447dd93be2a..18d67ab113f0ece3976411e8c9f005353af81dc8 100644 (file)
@@ -2256,6 +2256,8 @@ typedef struct {
 #define FILE_SUPPORTS_ENCRYPTION       0x00020000
 #define FILE_SUPPORTS_OBJECT_IDS       0x00010000
 #define FILE_VOLUME_IS_COMPRESSED      0x00008000
+#define FILE_SUPPORTS_POSIX_UNLINK_RENAME 0x00000400
+#define FILE_RETURNS_CLEANUP_RESULT_INFO  0x00000200
 #define FILE_SUPPORTS_REMOTE_STORAGE   0x00000100
 #define FILE_SUPPORTS_REPARSE_POINTS   0x00000080
 #define FILE_SUPPORTS_SPARSE_FILES     0x00000040
index a3d8a905b07e072e3f68d1f916909f11af46f6af..d742ba754348bbf5a37b308bf074a9a8e085ac21 100644 (file)
@@ -72,6 +72,8 @@
 #define FILE_SUPPORTS_ENCRYPTION       0x00020000
 #define FILE_SUPPORTS_OBJECT_IDS       0x00010000
 #define FILE_VOLUME_IS_COMPRESSED      0x00008000
+#define FILE_SUPPORTS_POSIX_UNLINK_RENAME 0x00000400
+#define FILE_RETURNS_CLEANUP_RESULT_INFO  0x00000200
 #define FILE_SUPPORTS_REMOTE_STORAGE   0x00000100
 #define FILE_SUPPORTS_REPARSE_POINTS   0x00000080
 #define FILE_SUPPORTS_SPARSE_FILES     0x00000040