Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5355pxu; Thu, 3 Dec 2020 17:30:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8QQW9AnicG5M8Ck6SQPyXApZWsjCt2WdGO4VgFJ0+aUP8Pfx+oYptK/sS++6RWrzg5SoE X-Received: by 2002:aa7:d3cc:: with SMTP id o12mr5615391edr.235.1607045417410; Thu, 03 Dec 2020 17:30:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607045417; cv=none; d=google.com; s=arc-20160816; b=mn3niVZ7QGFlS4XSdK5Lr/vYjRnSiIC+ppEyNqGrThuUxsmMtQTlpYcHco8+9MyOIH GpBpE0RjKhlRT4B3rNZMVx/CTyVb+7/FfpaVZ3f42XhS1cNLWJeZlsrPpkNU2bDuPDk9 Qyxwa3wIokOY/LvRzy/3uqSOQ4ZXmCVVYYyCFZnaKxD33jTcWt4/xR8TgJyuI6DSaY3R edY0nW5hvIgkKnTl2f05H0/urv+DN2pE5Y+JBwDzFsb2mDnpwWIjbdLaxDgif0CF3253 MQlvu4UlXD8QvX6BkwQkROu3l4KMPMYcUQW3h9SDXyDVrw9RCLIjeWXmByIzx+ZNl8ee 2QgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=BtC8H/PaHvTR0bQuKDeQ/3d7t1dmBMm/RN03FwM92fM=; b=hj+h4ANBRA74l2jsZrKqMI9ePFlhpZ/X/p5DV9PHLqssqUYUKoBoUbhWvpU0HViYlo GsSond6Nq9pwf27Chdr9IjcDDbIyiwHOrUtY+eZbrIMbcCLzn1QeBLTgl94Wlri1lq4f uvDk6qsNmAWGWSIdG2VezVAZfptwIPsa3MY5zdgEmuD+OnTEQpnUaDlz7mq55dWPGV9I AWWi5BKk+zXcrsAYElmyucKAGgE9O7gqhcejR+FnTQSNd6G6vlxEVilwWZ+h2pASu4El GR3xvWXtd4IP+K1xmF2WjyH4b/Uof6ffDgOkkbEPz/VTRI1JqowbBDedxsgEuyIsLpJU G1UQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r2si424951ejb.548.2020.12.03.17.29.53; Thu, 03 Dec 2020 17:30:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726242AbgLDB2u convert rfc822-to-8bit (ORCPT + 99 others); Thu, 3 Dec 2020 20:28:50 -0500 Received: from smtp.h3c.com ([60.191.123.50]:2010 "EHLO h3cspam02-ex.h3c.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726158AbgLDB2u (ORCPT ); Thu, 3 Dec 2020 20:28:50 -0500 Received: from DAG2EX02-BASE.srv.huawei-3com.com ([10.8.0.65]) by h3cspam02-ex.h3c.com with ESMTP id 0B41RCuI075840; Fri, 4 Dec 2020 09:27:12 +0800 (GMT-8) (envelope-from tian.xianting@h3c.com) Received: from DAG2EX03-BASE.srv.huawei-3com.com (10.8.0.66) by DAG2EX02-BASE.srv.huawei-3com.com (10.8.0.65) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 4 Dec 2020 09:27:13 +0800 Received: from DAG2EX03-BASE.srv.huawei-3com.com ([fe80::5d18:e01c:bbbd:c074]) by DAG2EX03-BASE.srv.huawei-3com.com ([fe80::5d18:e01c:bbbd:c074%7]) with mapi id 15.01.2106.002; Fri, 4 Dec 2020 09:27:13 +0800 From: Tianxianting To: "Theodore Y. Ts'o" , Jan Kara CC: "adilger.kernel@dilger.ca" , "linux-ext4@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] ext4: remove the null check of bio_vec page Thread-Topic: [PATCH] ext4: remove the null check of bio_vec page Thread-Index: AQHWpruDhYzwIts0bkGkoCqDPV0JCqmhVUyAgEPTgYCAAULUUA== Date: Fri, 4 Dec 2020 01:27:13 +0000 Message-ID: <1758a0c58d174070915534f538aaf52d@h3c.com> References: <20201020082201.34257-1-tian.xianting@h3c.com> <20201021102503.GC19726@quack2.suse.cz> <20201203141127.GF441757@mit.edu> In-Reply-To: <20201203141127.GF441757@mit.edu> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.99.141.128] x-sender-location: DAG2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-DNSRBL: X-MAIL: h3cspam02-ex.h3c.com 0B41RCuI075840 Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Thanks Ted :) -----Original Message----- From: Theodore Y. Ts'o [mailto:tytso@mit.edu] Sent: Thursday, December 03, 2020 10:11 PM To: Jan Kara Cc: tianxianting (RD) ; adilger.kernel@dilger.ca; linux-ext4@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] ext4: remove the null check of bio_vec page On Wed, Oct 21, 2020 at 12:25:03PM +0200, Jan Kara wrote: > On Tue 20-10-20 16:22:01, Xianting Tian wrote: > > bv_page can't be NULL in a valid bio_vec, so we can remove the NULL > > check, as we did in other places when calling > > bio_for_each_segment_all() to go through all bio_vec of a bio. > > > > Signed-off-by: Xianting Tian > > Thanks for the patch. It looks good to me. You can add: > > Reviewed-by: Jan Kara Applied, thanks. - Ted