]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Extend credit mechanism to process request type
authorPavel Shilovsky <pshilovsky@samba.org>
Wed, 23 May 2012 12:14:34 +0000 (16:14 +0400)
committerSteve French <smfrench@gmail.com>
Tue, 24 Jul 2012 05:32:48 +0000 (00:32 -0500)
commitdcbb20b220914e66bd5f819372364bb7af39afcd
tree0f911230af82d5b8cbbbbbb423b032ae8f5dc957
parent65b3a9daf8c03d9783f0b740baae83c9089b7a3f
CIFS: Extend credit mechanism to process request type

Split all requests to echos, oplocks and others - each group uses
its own credit slot. This is indicated by new flags

CIFS_ECHO_OP and CIFS_OBREAK_OP

that are not used now for CIFS. This change is required to support
SMB2 protocol because of different processing of these commands.

Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/smb1ops.c
fs/cifs/transport.c