From 34f626406c09dd45878ce75170abab342985ec24 Mon Sep 17 00:00:00 2001 From: Steve French Date: Wed, 9 Oct 2013 02:07:00 -0500 Subject: Query file system attributes from server on SMB2, not just cifs, mounts Currently SMB2 and SMB3 mounts do not query the file system attributes from the server at mount time as is done for cifs. These can be useful for debugging. Signed-off-by: Steve French --- fs/cifs/cifspdu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fs/cifs/cifspdu.h') diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h index 08f9dfb1a894..d40bd77a2392 100644 --- a/fs/cifs/cifspdu.h +++ b/fs/cifs/cifspdu.h @@ -2215,6 +2215,9 @@ typedef struct { __le32 DeviceCharacteristics; } __attribute__((packed)) FILE_SYSTEM_DEVICE_INFO; /* device info level 0x104 */ +/* minimum includes first three fields, and empty FS Name */ +#define MIN_FS_ATTR_INFO_SIZE 12 + typedef struct { __le32 Attributes; __le32 MaxPathNameComponentLength; -- cgit v1.2.3