From patchwork Mon Sep 7 11:28:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bean Huo X-Patchwork-Id: 11760779 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3187F92C for ; Mon, 7 Sep 2020 11:39:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1371F215A4 for ; Mon, 7 Sep 2020 11:39:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ebJe3gca" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729058AbgIGLj1 (ORCPT ); Mon, 7 Sep 2020 07:39:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728608AbgIGL3B (ORCPT ); Mon, 7 Sep 2020 07:29:01 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 847FAC061574; Mon, 7 Sep 2020 04:29:00 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id z23so17710564ejr.13; Mon, 07 Sep 2020 04:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qC1Qe+Nb3BkoaUmyFCAr6TGZ4dkblgfNWZvGx4XV3VM=; b=ebJe3gcanTI8bgBT9KmcEKFhA084BTDUWBn3DlAo3yjyMlhegql8JBciYuC5iQsWfJ sOXnmaHy3jCI+xWGouQsSjtY4qbLZpRYoLKqmFlwzbOn3D9+6koC50qpddl2vWKTQvgs NmT5ciVzX9Y8XCbxTAsNWqj53TOpRpcbVdRoIhESZZmswYavfQoq2zxNkcHqODYEKAVq SOIIDZCQVFmm5DEPt8JZQmF9zXbii0CW21zMS/P1vcc1Wie+q0xaxAjbJmmbgVJW0BWc jCKjEPfRAIf0BIO7AIuqcNI/sQmCape6lj1O+egrIp72xyBt6K88K9Z3wl3/u+IKmCWj yJ9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qC1Qe+Nb3BkoaUmyFCAr6TGZ4dkblgfNWZvGx4XV3VM=; b=bFPlqLdLuodcXSjcm6BFBHU/0vgGO1iVh1CXy8IzJIjvQOIZeqX6VMFDxfSNS3cSaj iTZEC/LPOW/4ErWC2vxKwxvntwgVj45QQa48PnEhemGJrFRcj1fmvec+8nSLsrYoADo4 dxf3bYKI1CYfrRyi6yPTjfqPtcCFgew6Z+2Sze31vKNRL7azyV2gnGdQ4SuWvjOcBENO qkToEYUQeRcf+2W2UOmr/QjLVQRmo+CdJH1OvH7Yto8tTWvWJhkv3VdjIu3zk724Wudu BeQUDeKQ0KSBwdrfKSXUBk2Hve3Lga4IHzgzMEdaIcST+R8xpOT+Vz9mLudEC8+KUmWY 28kQ== X-Gm-Message-State: AOAM530pT/qTAVKv52fOg9L0/9TRJp0GDk5K2ghB/nja2ys6/fG0AirI r9pEC9GqR7aUwK0fYAxXRsimsSkHOTWj2g== X-Google-Smtp-Source: ABdhPJzTH3PYNIPavroQTHS7N3elLjN+rMaSvxkgVqGYPLb0M/V0QxPsG6tYM3Xdf6S+TsgP2xk6QQ== X-Received: by 2002:a17:906:a0c2:: with SMTP id bh2mr21274577ejb.493.1599478139211; Mon, 07 Sep 2020 04:28:59 -0700 (PDT) Received: from localhost.localdomain ([2a01:598:b902:e05f:7139:914b:4eed:99b3]) by smtp.gmail.com with ESMTPSA id k6sm13826528edj.93.2020.09.07.04.28.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 04:28:58 -0700 (PDT) From: Bean Huo To: axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Cc: beanhuo@micron.com Subject: [PATCH v2 1/2] block: fix incorrect comment in vdc_port_probe() Date: Mon, 7 Sep 2020 13:28:44 +0200 Message-Id: <20200907112845.3420-2-huobean@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907112845.3420-1-huobean@gmail.com> References: <20200907112845.3420-1-huobean@gmail.com> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org From: Bean Huo do_generic_file_read() has been renamed to eneric_file_buffered_read() since commit 47c27bc46946 ("fs: pass iocb to do_generic_file_read"), so relpace it with generic_file_buffered_read() in the comment. Signed-off-by: Bean Huo --- drivers/block/sunvdc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c index 39aeebc6837d..06262e990c9b 100644 --- a/drivers/block/sunvdc.c +++ b/drivers/block/sunvdc.c @@ -1017,9 +1017,9 @@ static int vdc_port_probe(struct vio_dev *vdev, const struct vio_device_id *id) VDCBLK_NAME "%c", 'a' + ((int)vdev->dev_no % 26)); port->vdisk_size = -1; - /* Actual wall time may be double due to do_generic_file_read() doing - * a readahead I/O first, and once that fails it will try to read a - * single page. + /* Actual wall time may be double due to generic_file_buffered_read() + * doing a readahead I/O first, and once that fails it will try to read + * a single page. */ ldc_timeout = mdesc_get_property(hp, vdev->mp, "vdc-timeout", NULL); port->ldc_timeout = ldc_timeout ? *ldc_timeout : 0; From patchwork Mon Sep 7 11:28:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bean Huo X-Patchwork-Id: 11760775 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EC5B592C for ; Mon, 7 Sep 2020 11:39:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CB7BA2168B for ; Mon, 7 Sep 2020 11:39:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LMvw2vfI" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728980AbgIGL3P (ORCPT ); Mon, 7 Sep 2020 07:29:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728575AbgIGL3B (ORCPT ); Mon, 7 Sep 2020 07:29:01 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96021C061575; Mon, 7 Sep 2020 04:29:01 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id o8so4577236ejb.10; Mon, 07 Sep 2020 04:29:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kQGNEdq+cDwHylTqbs6BpkRXROVfkl3/tiDlpY9PKjg=; b=LMvw2vfIFlo+Cv7Q+U1LP91HBerow08Yy9+2U7FUmVxuEwMXRjAGo/vrnHyCRYJSEe RfG3x+kOxP9GaXo+av8MSARiQ1s1RaNCmzlQzDyKaKPTz/3VniGXgFJFec15gPuGso1o 8sGOMcizLzmoGh9heEaK+9G+eJ5kvvF/FMrLcyHiuhInZb1pyHro+8tsbTtEy5toqh5d oWK4GKkN9VFdgCSYgWQOhI7y9qSHDvhnMnqJzMJfGm2RBTfXTo14qHPAlKJFSo+VnUes lx6s8xNDFCLGLHqSeYbalJWr3XOEDq0Q3/64gtQir5rSlj34T2peipvjfSB59gmSTtvh dgZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kQGNEdq+cDwHylTqbs6BpkRXROVfkl3/tiDlpY9PKjg=; b=D2TyFBJCIX3D1JwjEqlxyrK4T2HcysshP6fNeuhPGJXVPJn22iZ85ybpsfonTIqV1j T9YUuK7M7F89JwbO1a9iGe1P2J7f35P0Lqsz02aZ4uUnHYnX708dLnIEf+WAt0/wN1Sf OfT90HLzN1oj6kbfptXFakmgSeG2hXmI6EeqfwVtTlqTnLp5lKBSMaw8eJcdbACOUwsP UqHg45zWrFW1Now7BjZhQ1F6wAFCtQaOdriVtGGrLEPCCM9LxRVUbFuTxab1H4ryOZaL u1aokKFMSxBo2oNEogeKQ7wis7EAivL6FdV/dtOXFumiljTGK4SHp84EHHcsZVaIZHNi vSow== X-Gm-Message-State: AOAM533r/n9AQAkNlaq8YY2l3I6iARVcuWTwFiw+IT+nWvVxh8kho9Q5 w8g28m1jZKgZk9oqhNiO8/w= X-Google-Smtp-Source: ABdhPJyJxk/i2Mt+3kd2Kcc6jyfxcUA8iEeifyT1g06whWiFnZyRns2udxwRseJhkD5B+60VxISReg== X-Received: by 2002:a17:906:3bca:: with SMTP id v10mr19919515ejf.57.1599478140293; Mon, 07 Sep 2020 04:29:00 -0700 (PDT) Received: from localhost.localdomain ([2a01:598:b902:e05f:7139:914b:4eed:99b3]) by smtp.gmail.com with ESMTPSA id k6sm13826528edj.93.2020.09.07.04.28.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 04:28:59 -0700 (PDT) From: Bean Huo To: axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Cc: beanhuo@micron.com Subject: [PATCH v2 2/2] fs: isofs: fix incorrect comment in zisofs_readpage() Date: Mon, 7 Sep 2020 13:28:45 +0200 Message-Id: <20200907112845.3420-3-huobean@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907112845.3420-1-huobean@gmail.com> References: <20200907112845.3420-1-huobean@gmail.com> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org From: Bean Huo do_generic_file_read() has been renamed to eneric_file_buffered_read() since commit 47c27bc46946 ("fs: pass iocb to do_generic_file_read"), so relpace it with generic_file_buffered_read() in the comment. Signed-off-by: Bean Huo --- fs/isofs/compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/isofs/compress.c b/fs/isofs/compress.c index bc12ac7e2312..7541581c1064 100644 --- a/fs/isofs/compress.c +++ b/fs/isofs/compress.c @@ -312,7 +312,7 @@ static int zisofs_readpage(struct file *file, struct page *page) end_index = (inode->i_size + PAGE_SIZE - 1) >> PAGE_SHIFT; /* * If this page is wholly outside i_size we just return zero; - * do_generic_file_read() will handle this for us + * generic_file_buffered_read() will handle this for us */ if (index >= end_index) { SetPageUptodate(page);