summaryrefslogtreecommitdiffstats
path: root/fs/ksmbd/connection.h
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2021-12-29 23:08:46 +0900
committerSteve French <stfrench@microsoft.com>2022-01-10 12:44:19 -0600
commit004443b3f6d722b455cf963ed7c3edd7f4772405 (patch)
treeda68a4c34e67a7da5117355a781da2eb9f54639e /fs/ksmbd/connection.h
parentcb097b3dd5ece9596a0a0b7e33893c02a9bde8c6 (diff)
downloadlinux-004443b3f6d722b455cf963ed7c3edd7f4772405.tar.bz2
ksmbd: add support for smb2 max credit parameter
Add smb2 max credits parameter to adjust maximum credits value to limit number of outstanding requests. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/connection.h')
-rw-r--r--fs/ksmbd/connection.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ksmbd/connection.h b/fs/ksmbd/connection.h
index 72dfd155b5bf..42ffb6d9c5d8 100644
--- a/fs/ksmbd/connection.h
+++ b/fs/ksmbd/connection.h
@@ -62,7 +62,6 @@ struct ksmbd_conn {
/* References which are made for this Server object*/
atomic_t r_count;
unsigned short total_credits;
- unsigned short max_credits;
spinlock_t credits_lock;
wait_queue_head_t req_running_q;
/* Lock to protect requests list*/