diff options
author | Steve French <smfrench@gmail.com> | 2013-10-09 02:07:00 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-10-28 09:22:55 -0500 |
commit | 34f626406c09dd45878ce75170abab342985ec24 (patch) | |
tree | 6904e8c808392920874febebf28129e6d1a1b974 /fs/cifs/cifspdu.h | |
parent | 64a5cfa6db94c5abba2cafe77aca077dd1e3283b (diff) | |
download | linux-34f626406c09dd45878ce75170abab342985ec24.tar.bz2 |
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 <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r-- | fs/cifs/cifspdu.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |