Skip to content

Commit 56c283b

Browse files
author
Steve French
committed
smb3: Add defines for two new FileSystemAttributes
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>
1 parent ef86ab1 commit 56c283b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

fs/smb/client/cifspdu.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2256,6 +2256,8 @@ typedef struct {
22562256
#define FILE_SUPPORTS_ENCRYPTION 0x00020000
22572257
#define FILE_SUPPORTS_OBJECT_IDS 0x00010000
22582258
#define FILE_VOLUME_IS_COMPRESSED 0x00008000
2259+
#define FILE_SUPPORTS_POSIX_UNLINK_RENAME 0x00000400
2260+
#define FILE_RETURNS_CLEANUP_RESULT_INFO 0x00000200
22592261
#define FILE_SUPPORTS_REMOTE_STORAGE 0x00000100
22602262
#define FILE_SUPPORTS_REPARSE_POINTS 0x00000080
22612263
#define FILE_SUPPORTS_SPARSE_FILES 0x00000040

fs/smb/server/smb_common.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@
7272
#define FILE_SUPPORTS_ENCRYPTION 0x00020000
7373
#define FILE_SUPPORTS_OBJECT_IDS 0x00010000
7474
#define FILE_VOLUME_IS_COMPRESSED 0x00008000
75+
#define FILE_SUPPORTS_POSIX_UNLINK_RENAME 0x00000400
76+
#define FILE_RETURNS_CLEANUP_RESULT_INFO 0x00000200
7577
#define FILE_SUPPORTS_REMOTE_STORAGE 0x00000100
7678
#define FILE_SUPPORTS_REPARSE_POINTS 0x00000080
7779
#define FILE_SUPPORTS_SPARSE_FILES 0x00000040

0 commit comments

Comments
 (0)