[PATCH][CIFS] Add missing definitions for CIFS File System Attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add missing definitions for CIFS File System Attributes

Signed-off-by: Steve French <smfrench@xxxxxxxxx>
---
 fs/cifs/cifspdu.h | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h
index 33df36e..0337445 100644
--- a/fs/cifs/cifspdu.h
+++ b/fs/cifs/cifspdu.h
@@ -2253,6 +2253,29 @@ typedef struct {
 /* minimum includes first three fields, and empty FS Name */
 #define MIN_FS_ATTR_INFO_SIZE 12

+
+/* List of FileSystemAttributes - see 2.5.1 of MS-FSCC */
+#define FILE_SUPPORT_INTEGRITY_STREAMS    0x04000000
+#define FILE_SUPPORTS_USN_JOURNAL    0x02000000
+#define FILE_SUPPORTS_OPEN_BY_FILE_ID    0x01000000
+#define FILE_SUPPORTS_EXTENDED_ATTRIBUTES 0x00800000
+#define FILE_SUPPORTS_HARD_LINKS    0x00400000
+#define FILE_SUPPORTS_TRANSACTIONS    0x00200000
+#define FILE_SEQUENTIAL_WRITE_ONCE    0x00100000
+#define FILE_READ_ONLY_VOLUME        0x00080000
+#define FILE_NAMED_STREAMS        0x00040000
+#define FILE_SUPPORTS_ENCRYPTION    0x00020000
+#define FILE_SUPPORTS_OBJECT_IDS    0x00010000
+#define FILE_VOLUME_IS_COMPRESSED    0x00008000
+#define FILE_SUPPORTS_REMOTE_STORAGE    0x00000100
+#define FILE_SUPPORTS_REPARSE_POINTS    0x00000080
+#define FILE_SUPPORTS_SPARSE_FILES    0x00000040
+#define FILE_VOLUME_QUOTAS        0x00000020
+#define FILE_FILE_COMPRESSION         0x00000010
+#define FILE_PERSISTENT_ACLS        0x00000008
+#define FILE_UNICODE_ON_DISK        0x00000004
+#define FILE_CASE_PRESERVED_NAMES    0x00000002
+#define FILE_CASE_SENSITIVE_SEARCH    0x00000001
 typedef struct {
     __le32 Attributes;
     __le32 MaxPathNameComponentLength;

-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux