diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 50fcb65920e8..1a1f9f4ae80a 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -1704,7 +1704,8 @@ static inline bool is_retryable_error(int error) #define CIFS_ECHO_OP 0x080 /* echo request */ #define CIFS_OBREAK_OP 0x0100 /* oplock break request */ #define CIFS_NEG_OP 0x0200 /* negotiate request */ -#define CIFS_OP_MASK 0x0380 /* mask request type */ +#define CIFS_SESS_OP 0x2000 /* session setup request */ +#define CIFS_OP_MASK 0x2380 /* mask request type */ Why skipping 0x400, 0x800 and 0x1000 flags? -- Best regards, Pavel Shilovsky вт, 9 февр. 2021 г. в 03:22, Aurélien Aptel <aaptel@xxxxxxxx>: > > Shyam Prasad N <nspmangalore@xxxxxxxxx> writes: > > > I had missed one check where CIFS_SESS_OP also had to be checked. Not > > doing so would disable echoes and oplocks. > > Reviewed-by: Aurelien Aptel <aaptel@xxxxxxxx> > > -- > Aurélien Aptel / SUSE Labs Samba Team > GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 > SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE > GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München) >