mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
ksmbd: fix typo, syncronous->synchronous
[ Upstream commit f8d6e7442a ]
syncronous->synchronous
Signed-off-by: Dawei Li <set_pte_at@outlook.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1f485b54d0
commit
b15734ec29
@@ -114,7 +114,7 @@ void ksmbd_conn_enqueue_request(struct ksmbd_work *work)
|
||||
|
||||
if (conn->ops->get_cmd_val(work) != SMB2_CANCEL_HE) {
|
||||
requests_queue = &conn->requests;
|
||||
work->syncronous = true;
|
||||
work->synchronous = true;
|
||||
}
|
||||
|
||||
if (requests_queue) {
|
||||
@@ -139,7 +139,7 @@ int ksmbd_conn_try_dequeue_request(struct ksmbd_work *work)
|
||||
spin_lock(&conn->request_lock);
|
||||
if (!work->multiRsp) {
|
||||
list_del_init(&work->request_entry);
|
||||
if (work->syncronous == false)
|
||||
if (!work->synchronous)
|
||||
list_del_init(&work->async_request_entry);
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ struct ksmbd_work {
|
||||
/* Request is encrypted */
|
||||
bool encrypted:1;
|
||||
/* Is this SYNC or ASYNC ksmbd_work */
|
||||
bool syncronous:1;
|
||||
bool synchronous:1;
|
||||
bool need_invalidate_rkey:1;
|
||||
|
||||
unsigned int remote_key;
|
||||
|
||||
@@ -512,7 +512,7 @@ int init_smb2_rsp_hdr(struct ksmbd_work *work)
|
||||
rsp_hdr->SessionId = rcv_hdr->SessionId;
|
||||
memcpy(rsp_hdr->Signature, rcv_hdr->Signature, 16);
|
||||
|
||||
work->syncronous = true;
|
||||
work->synchronous = true;
|
||||
if (work->async_id) {
|
||||
ksmbd_release_id(&conn->async_ida, work->async_id);
|
||||
work->async_id = 0;
|
||||
@@ -675,7 +675,7 @@ int setup_async_work(struct ksmbd_work *work, void (*fn)(void **), void **arg)
|
||||
pr_err("Failed to alloc async message id\n");
|
||||
return id;
|
||||
}
|
||||
work->syncronous = false;
|
||||
work->synchronous = false;
|
||||
work->async_id = id;
|
||||
rsp_hdr->Id.AsyncId = cpu_to_le64(id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user