diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-05-23 16:18:00 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-07-24 10:25:23 -0500 |
commit | 28ea5290d78a7fc87a4b4f7cedcaa662f5b8d977 (patch) | |
tree | 25f091cdd90fa160d0a10ce2798c7960bdfd051c /fs/cifs/connect.c | |
parent | 2dc7e1c03316940dec899fa3206a595de000e99b (diff) | |
download | linux-28ea5290d78a7fc87a4b4f7cedcaa662f5b8d977.tar.gz linux-28ea5290d78a7fc87a4b4f7cedcaa662f5b8d977.tar.bz2 linux-28ea5290d78a7fc87a4b4f7cedcaa662f5b8d977.zip |
CIFS: Add SMB2 credits support
For SMB2 protocol we can add more than one credit for one received
request: it depends on CreditRequest field in SMB2 response header.
Also we divide all requests by type: echoes, oplocks and others.
Each type uses its own slot pull.
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index cfb7e7797642..a6197224b102 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -297,7 +297,7 @@ static int cifs_setup_volume_info(struct smb_vol *volume_info, char *mount_data, * reconnect tcp session * wake up waiters on reconnection? - (not needed currently) */ -static int +int cifs_reconnect(struct TCP_Server_Info *server) { int rc = 0; |