Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp535125rwb; Thu, 10 Nov 2022 04:24:32 -0800 (PST) X-Google-Smtp-Source: AMsMyM64etuA1nctKEPQjhqno9LMsk0j9Ozuol39WTJX4EB8J/ox65oQpRcPWMjZSbGsQ9W7kWai X-Received: by 2002:a05:6a00:17aa:b0:56d:1d65:91e9 with SMTP id s42-20020a056a0017aa00b0056d1d6591e9mr62047936pfg.12.1668083071916; Thu, 10 Nov 2022 04:24:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668083071; cv=none; d=google.com; s=arc-20160816; b=uPuNHe3i+KL39d1WRmNKz1CkeA3qESF6j/ykEXKQcTRWrd+7d6eNLnRf5r4cQkt5MZ OYntejV8FZpBt/U0a0kcOaLJ7fE9jKcpNmvM2IhvQVJLsMe9LZnzB1da/hLx0Dnmp4h+ Yc+sYPXgQLAqsBwC6/mftcjFag6Kls8NwZdDHskt1H/bhhz4vMSplrjSFKzKW8zKt3WG D9FwZqHgH8owojiTnU7kSl/Y6Z0QblXWeyFVyzj1mfyXeuUwql67RZYxSQ6AGeZ6eUex MiHzvBqlk4P+hC/yalL7hIplZdKPs3axFAAgoXSwQfXdDc2Rs+mUyH6TyC46N5C7/wgl NCiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ygFe3BUhfSVQgSOBxshSx6acMYXcBxZEtEUvRb/x8As=; b=l/5aU/oZtopfkZR7lcKPoKCVD1g8MHF7fV8whbCIk4PC0Z/VN+zvI4kQxl3pbqEpYz PlUEQelF/D5dVGpblyGlLr0S8tEN69FNXtX3fTC/DiNsoh/16KLMOpJkVJJBSCy2Us9M br3oQeea/Hyn1RXU/LmeppDkjkWDrdhrxUxYjYKNXeJGfJpoiClraahyh1hiGkyK2YLW UKyuMNpKBZuAYHAqR7tlapwFdMb22A8c0YYKBWxZaxObV6eIdOHKaUD5SzLB9ziFlpf6 6xiTd6Q2pDhgP9S2CyRdunDb6p2XzyE4TeCPVLZWjJlap9zCatcSMtrM2FqqyLlMCHm5 U0ew== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w184-20020a6382c1000000b0044b5e15db73si20934136pgd.249.2022.11.10.04.24.17; Thu, 10 Nov 2022 04:24:31 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230128AbiKJMVL (ORCPT + 93 others); Thu, 10 Nov 2022 07:21:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbiKJMVK (ORCPT ); Thu, 10 Nov 2022 07:21:10 -0500 Received: from zju.edu.cn (spam.zju.edu.cn [61.164.42.155]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2921A2AE03; Thu, 10 Nov 2022 04:21:07 -0800 (PST) Received: from zju.edu.cn (unknown [10.12.77.33]) by mail-app3 (Coremail) with SMTP id cC_KCgBXzqmw7GxjD9XhCA--.5792S4; Thu, 10 Nov 2022 20:21:04 +0800 (CST) From: Lin Ma To: axboe@kernel.dk, asml.silence@gmail.com, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Lin Ma Subject: [PATCH v1] io_uring: update outdated comment of callbacks Date: Thu, 10 Nov 2022 20:21:03 +0800 Message-Id: <20221110122103.20120-1-linma@zju.edu.cn> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: cC_KCgBXzqmw7GxjD9XhCA--.5792S4 X-Coremail-Antispam: 1UD129KBjvdXoWruFW5ZrWUuw4kuF1kCw1rWFg_yoWfZFb_u3 yDXw4xWrn7Xr10kry5GFy0qr4Sk3sFkF10q3WxWrsrJa47ZaykK3yDZrykJrn5Xr47WFy7 CFs8Wa43Cw1IvjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb7AFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AK wVWUJVWUGwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20x vE14v26w1j6s0DM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26rxl6s0DM28EF7xvwVC2z280 aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I0E14v26rxl6s0DM2AIxVAIcxkEcVAq07 x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18 McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr4 1lF7I21c0EjII2zVCS5cI20VAGYxC7MxAIw28IcxkI7VAKI48JMxAIw28IcVCjz48v1sIE Y20_GFWkJr1UJwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI 8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41l IxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIx AIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2 jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7VUbXdbUUUUUU== X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 Previous commit ebc11b6c6b87 ("io_uring: clean io-wq callbacks") rename io_free_work() into io_wq_free_work() for consistency. This patch also updates relevant comment to avoid misunderstanding. Fixes: ebc11b6c6b87 ("io_uring: clean io-wq callbacks") Signed-off-by: Lin Ma --- io_uring/io_uring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index ac8c488e3077..a1024b7fcc73 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -1782,7 +1782,7 @@ void io_wq_submit_work(struct io_wq_work *work) bool needs_poll = false; int ret = 0, err = -ECANCELED; - /* one will be dropped by ->io_free_work() after returning to io-wq */ + /* one will be dropped by ->io_wq_free_work() after returning to io-wq */ if (!(req->flags & REQ_F_REFCOUNT)) __io_req_set_refcount(req, 2); else -- 2.38.1