aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2pdu.h
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-06-24 23:28:12 -0500
committerSteve French <stfrench@microsoft.com>2018-08-07 14:15:41 -0500
commit2d304217832ea720337e7a6aa012aa828a77f9d4 (patch)
tree387ab578484e9b1a48f140fd2a7fda4b6e44489b /fs/cifs/smb2pdu.h
parentsmb3: fill in statfs fsid and correct namelen (diff)
downloadlinux-dev-2d304217832ea720337e7a6aa012aa828a77f9d4.tar.xz
linux-dev-2d304217832ea720337e7a6aa012aa828a77f9d4.zip
smb3: add support for statfs for smb3.1.1 posix extensions
Output now matches expected stat -f output for all fields except for Namelen and ID which were addressed in a companion patch (which retrieves them from existing SMB3 mechanisms and works whether POSIX enabled or not) Signed-off-by: Steve French <smfrench@gmail.com> Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Diffstat (limited to 'fs/cifs/smb2pdu.h')
-rw-r--r--fs/cifs/smb2pdu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h
index c2a4526512b5..ecb0feeac844 100644
--- a/fs/cifs/smb2pdu.h
+++ b/fs/cifs/smb2pdu.h
@@ -1223,6 +1223,7 @@ struct smb2_lease_ack {
#define FS_DRIVER_PATH_INFORMATION 9 /* Local only */
#define FS_VOLUME_FLAGS_INFORMATION 10 /* Local only */
#define FS_SECTOR_SIZE_INFORMATION 11 /* SMB3 or later. Query */
+#define FS_POSIX_INFORMATION 100 /* SMB3.1.1 POSIX. Query */
struct smb2_fs_full_size_info {
__le64 TotalAllocationUnits;