Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1702423rwb; Sun, 15 Jan 2023 02:55:55 -0800 (PST) X-Google-Smtp-Source: AMrXdXuQel0IHbKVMC+aFZdzQ2AzW4cFCENCHSrQcHi6nWnoaSNCtznE10p9WJ9kWqh3xKr2EJxM X-Received: by 2002:aa7:d0c9:0:b0:498:d121:6e00 with SMTP id u9-20020aa7d0c9000000b00498d1216e00mr26078323edo.35.1673780155207; Sun, 15 Jan 2023 02:55:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673780155; cv=pass; d=google.com; s=arc-20160816; b=BFp186AlYC0s3XKjv2mo6SlUk6UUNub2C9Fuhyll5Pl/7+lWofnwcxBh0qw/FQjV5U ot+y43DhdmZ1WlKfGdsveTbiX24S8FL57glsUJ2IsBAGRk247xGif6b+rr5gz2PEk+Bi 0rrEzilDA1p69UUCC1iZwqaagV/Q5zHAdJ45cu9J3Y22b+dNYz5QFhJbC5dhQ3bXJu1E IRkBq2TlqrWOtAxlVboYogn0wvvs+veqoTIzocUO9Wu2DB6oJQ1eBvxe0njPmEt9a7Bp 0R0Rkxsa9o/4AwjLB0XWGobKn32UW7dYpdQxXrWIUp03PgT2Ek3LNdIcpwpkSQUvf2rq LMVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sskbBFcb3YFm14/Jh/anX8frm80C4yL2TYzqKanaQG4=; b=soguMS4VvsQqJwV652bntf2wDZ6Ok9astBSXOUS7xTyRYH7nqi/V+jgtzwJCx7OGhu yljc6Rf8OpiAzNV8QNCornaRlw5cTwF3dPx7O6+WI+gw+tgswJtrmjEf5V6ToWw2gEts OHAnnyTC2wB19pQBZU0Byx5j36bHOS+DXHbVWr1SMGzzOmA/vdtQO5F/RnEMXPH/zlLF teiIl8utmQj/8ouix9DVyVFd6oT9fCtd1Q10udvdxaH0HqofhHpX5zijaJ2MKxIs1yFS qpdTXhvx8qF6Xau42iNvD45GHLODL0+xUYXEVUqGCayGdC66G2qnk2Ib87H/wZy9rmk2 UviQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=EvkFWcF8; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk32-20020a1709077fa000b007ada2ec1a28si28554272ejc.165.2023.01.15.02.55.41; Sun, 15 Jan 2023 02:55:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=EvkFWcF8; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231225AbjAOKcz (ORCPT + 52 others); Sun, 15 Jan 2023 05:32:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231136AbjAOKc2 (ORCPT ); Sun, 15 Jan 2023 05:32:28 -0500 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01olkn2045.outbound.protection.outlook.com [40.92.98.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4C73C16B; Sun, 15 Jan 2023 02:32:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WNvxOQXFMha0J2Yus+H/566VSrKVCG72eYBEim0ZiLu1CCfjt4A6xWMdgYXcc0oXmZfhr+7Fp359oGqBvo2Ow45JcP2gH6FFCNgC9wX8sf6Bv2dW5sJxaqygNcjutOuZhZSjKVOP6+4H8ALIq5Z3AG09SoMj1k/PJ8Y5nhbSDvdb1Y3e8sgqUyjyDDiPgqfUnPRMYFvfLPWIq819+t1Y0jeTUWJlnibq47ayepqULt2X6/jKNUxNyi6c/2CyyOb/vUB5B7fmehNB8F1gBTLXLH1Ca4ybCq1vwW2joWvtalYAhqk4QCpVX0HYSZHFvcfwqRofYIGC2TAPqHIuCAkqfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sskbBFcb3YFm14/Jh/anX8frm80C4yL2TYzqKanaQG4=; b=cLp99XLUNr0MIRuuBTnD+iiYyRi6Ga51SiBRrpDjmqXRQwN61U0y6LgIXuOPuI6/kiP23nZzE3KSMNxrK6x0Dv1yJin5KLQv9MNgqAERrS8S2UIHHEUap+teo3QVue+67FV3LkqTh8G511EckY3hCb6kq6ldzwAg0LEgkvtHkeLWvRrkb5oNAOAvH7VIGCl4D0gpfjCkezJ3BdVlkI4yRhXC2slSqrpbQNQKjTqxvacYYxYffq2+AY0ZXGr/bdSgtGpUxJg/jy7rXmSfjzvgNywEi4IzsGXCu2hwO5/ozajZ2l5KeG8f3jTaYrYMwF6CPLTYr8g+OFNB//OTeNaYjg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sskbBFcb3YFm14/Jh/anX8frm80C4yL2TYzqKanaQG4=; b=EvkFWcF8VH+/OtlugYXZcqDyxC3qsGYdKVVn2niQC95KgRlHvEv4qemTZLR/hz1ZRY+YZ2F8jv6KG3HnGhnYCa5oo9IFZMLbFofklCNVHHNgLbgcTFSfp919lUS1x8b8Qc73DFNhIPWO6V7rkz5BnPrgaUKqHUJSc/hkGIg4s2qzCsFODCMxZSe2NGRUbo4nNtmz+qBAUX4mqfcmmh2ohHzyrNzApxxxBLCqKPTPJkfi10GOJRRxYLHfNvsgsiqpV9Es3jmCs3jDnZLGQFavJOh+PrtPX6FdZlacVrYAv2BLUpEyV8Z0eFAK6yTwYWovll+B2qR55UriHnl73NHslQ== Received: from TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:152::9) by OS3P286MB2025.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1a0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Sun, 15 Jan 2023 10:32:25 +0000 Received: from TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM ([fe80::ff96:9cb6:e047:c605]) by TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM ([fe80::ff96:9cb6:e047:c605%4]) with mapi id 15.20.6002.012; Sun, 15 Jan 2023 10:32:25 +0000 From: Dawei Li To: linkinjeon@kernel.org, sfrench@samba.org Cc: senozhatsky@chromium.org, tom@talpey.com, hyc.lee@gmail.com, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/6] ksmbd: fix typo, syncronous->synchronous Date: Sun, 15 Jan 2023 18:32:09 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230115103209.146002-1-set_pte_at@outlook.com> References: <20230115103209.146002-1-set_pte_at@outlook.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [BvRQ8v6enCF2LInju5goHaOM1AOCSujnMOrAgMz9Sqk=] X-ClientProxiedBy: TYAPR01CA0210.jpnprd01.prod.outlook.com (2603:1096:404:29::30) To TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:152::9) X-Microsoft-Original-Message-ID: <20230115103209.146002-7-set_pte_at@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCP286MB2323:EE_|OS3P286MB2025:EE_ X-MS-Office365-Filtering-Correlation-Id: 10bc98bc-f777-4ae2-9c63-08daf6e3cb12 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +shUgAg6YJVrKILYKvkc6agH7zvfdZdGL99LEBjpSXsj+CiATf4UbEsezuXKQ1Xsu0PIfJoTePqQRZAc/WbcO339L0tKjqo1JpHhTvep9K2YwgjlnBr04AIlcvj+2LUo+jF6+cmPTkPOaMGpsM52MUdFdscfzCVWPBq/HeW7JbUrs97LPWBiRIBqWrl35BpUxFyq+asr1DutrdZFfXwvJKHlWUq5Mr4JL5lqnyDnGXs0tYgIabx3TtY4dQErqI7yj+0D2qZTo25xp+BaaPhjxDEGxUKG8uO3RH0XWnqf1ICDPAZVDoawfpwcEEH9Nwhxv/3RmYOVOL0zinV1qXKVDx/ep6RIIHtE6/kx4S9jCokAdwSb00zB1mWZUYVU+BxFXaq/Bw3CZS4d3FoDce8gOLwdfJXZGbGUel1I+59UkN/owe2gx7bkSyyXtm94uxj0vuukGfuIV6NpwQYtQhgkXiHwy+qDyp0UwVgJp635nfMxQLq9/YVs1f2RVi23zzBmL9ssvLUrZZ9DG2h1U1eibjKjq+XHkldIWx/hGWV6JedpCxjNX/aLjw13fGfJeOHgmWVtqZOipgxVqIVMfkBEaVM+my6mRsJyLjoRLq5QYpc= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii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nTYaNyYkN87OmMrcwv?= =?us-ascii?Q?R+R1KWOHZJul+GzoXDFjq/kT1asiXUCHe7BnMD0g1C/CaxKEGuy4dkQUX5Kr?= =?us-ascii?Q?Cbz+vMNTSjggyyPk5KsshRV4Zx7Li9PnSPaj4eAFi2amkd5IbyNdaMOudTQ9?= =?us-ascii?Q?yMWm0+SY7dpOXsAZse3Kq3JkCXW7Jqtjg4XRRKZDldvikoGqfT2EcTz6WasW?= =?us-ascii?Q?cY/C+kf6Tr8tino49n7h1uI9m7x3h3fn8x2DIviOHqSaeV4+6t9H3QMjeGfT?= =?us-ascii?Q?Xv66he3YV8he+WUmBqxVPJkyExB9Zc2p6yADX30arfgC+EGa5fQ1wBjdHgp4?= =?us-ascii?Q?Lp1P2G1Te9KLwBd80iCE7ijiXan6u3J53elVXAA221URmyZBpZHxzdADWKJO?= =?us-ascii?Q?OeJxw9nXKbjXRpT3ipDGRUN6wY6ZT6yPDGCtHQHPLX1fUWD2vU7JtJvP955/?= =?us-ascii?Q?KD0=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 10bc98bc-f777-4ae2-9c63-08daf6e3cb12 X-MS-Exchange-CrossTenant-AuthSource: TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jan 2023 10:32:25.4018 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3P286MB2025 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org syncronous->synchronous Signed-off-by: Dawei Li --- fs/ksmbd/connection.c | 4 ++-- fs/ksmbd/ksmbd_work.h | 2 +- fs/ksmbd/smb2pdu.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/ksmbd/connection.c b/fs/ksmbd/connection.c index b302de5db990..0fcc20ce0852 100644 --- a/fs/ksmbd/connection.c +++ b/fs/ksmbd/connection.c @@ -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; } diff --git a/fs/ksmbd/ksmbd_work.h b/fs/ksmbd/ksmbd_work.h index 5ece58e40c97..3234f2cf6327 100644 --- a/fs/ksmbd/ksmbd_work.h +++ b/fs/ksmbd/ksmbd_work.h @@ -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; diff --git a/fs/ksmbd/smb2pdu.c b/fs/ksmbd/smb2pdu.c index c60cfb360f42..2ae153de4a9c 100644 --- a/fs/ksmbd/smb2pdu.c +++ b/fs/ksmbd/smb2pdu.c @@ -498,7 +498,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; @@ -644,7 +644,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); -- 2.25.1