Skip to content

Commit 4a7f960

Browse files
ChenXiaoSongsmfrench
authored andcommitted
smb/client: fix CAP_BULK_TRANSFER value
See MS-CIFS 2.2.4.52.2. Keep it consistent with the value in the documentation. Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent 5d510ac commit 4a7f960

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

fs/smb/client/cifspdu.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,15 +711,20 @@ struct ntlmv2_resp {
711711

712712
#define CIFS_NETWORK_OPSYS "CIFS VFS Client for Linux"
713713

714-
/* Capabilities bits (for NTLM SessSetup request) */
714+
715+
/*
716+
* Capabilities bits (for NTLM SessSetup request)
717+
* See MS-CIFS 2.2.4.52.2
718+
* MS-SMB 2.2.4.5.2.1
719+
*/
715720
#define CAP_UNICODE 0x00000004
716721
#define CAP_LARGE_FILES 0x00000008
717722
#define CAP_NT_SMBS 0x00000010
718723
#define CAP_STATUS32 0x00000040
719724
#define CAP_LEVEL_II_OPLOCKS 0x00000080
720725
#define CAP_NT_FIND 0x00000200 /* reserved should be zero
721726
(because NT_SMBs implies the same thing?) */
722-
#define CAP_BULK_TRANSFER 0x20000000
727+
#define CAP_BULK_TRANSFER 0x00000400
723728
#define CAP_EXTENDED_SECURITY 0x80000000
724729

725730
/* Action bits */

0 commit comments

Comments
 (0)