Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp516973pxu; Thu, 3 Dec 2020 06:15:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzdNbc0uCmrUg5dm4uN2uvu3kXUzxD0VYe3C+/5Hua2bMJKGcnS3SxKF5mmwIavsOUt+wC X-Received: by 2002:a17:907:2108:: with SMTP id qn8mr2703521ejb.127.1607004918518; Thu, 03 Dec 2020 06:15:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607004918; cv=none; d=google.com; s=arc-20160816; b=V+xA4vOc359QDmttRCWs22dAa7XdF8cgxQBG2y3NRz7FDGSL+wprhcrYA7+TGlh8BF v5cj1f9w2Q/Qcj3c2RYB5dlwlLk0q9co9SPiSscDiGzk1AmplSXpdMNb4hf1/x9/x94d WZ43TIELLBpJ/JaiWcOYXKQCmF+cmy3bFsaB2e4HyPQlvYZHj6dolczYHMJHaDZnFciL 8MXcUgphJJnKuffALkkGlnSR1zE4VTLaBqDwtKtMQbd+j5KcUqVOBJinG3zmrjvsEntl YZj1NMZeus/dRt/CihGV8Q7ZDhgJMntBOYbLUMzx4wOvIV1iK5yY7AYR12o3IsxMAXog 8vzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=mPiZJv2l1S+fi3UcXBdw71qYs8f2MqEKTLUvnnIY5NU=; b=BmClEbEM81ugRDvRjN7XsBoJZvEUlTSCiSMqOiHgTMzxxPfsQQINgcWxhBSS2Hj9aV Sn+b9MYx3+aORUg60cqZ3UECuPwKAjEWotMS1h+whCHN1WOZ7eaWg/pYPgajZkZ/Z/cy S5wCGlZ0XH9FqpKhSYdxcuzD4eMLVoNKbSqjvcIXIi54sjiHyAfDNOJq2O3c4OvBWOQp m9htyIugApJNftp74IbRWEDh4aNTQU5RUsKLgn9e3Lx5ZjV87aCCtIcbcCrp54omcYSq CIzH7Aqw77D7tC6znJ/y1yavS7auxWKy9KSivNqDiQY+dvxazsBkgktvPsS5OhdpWTJR 24Ow== 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 k5si1185482ejk.655.2020.12.03.06.14.54; Thu, 03 Dec 2020 06:15:18 -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 S1728188AbgLCOM4 (ORCPT + 99 others); Thu, 3 Dec 2020 09:12:56 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:56965 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726889AbgLCOM4 (ORCPT ); Thu, 3 Dec 2020 09:12:56 -0500 Received: from callcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 0B3EBRPi024509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 3 Dec 2020 09:11:29 -0500 Received: by callcc.thunk.org (Postfix, from userid 15806) id CBF27420136; Thu, 3 Dec 2020 09:11:27 -0500 (EST) Date: Thu, 3 Dec 2020 09:11:27 -0500 From: "Theodore Y. Ts'o" To: Jan Kara Cc: Xianting Tian , 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 Message-ID: <20201203141127.GF441757@mit.edu> References: <20201020082201.34257-1-tian.xianting@h3c.com> <20201021102503.GC19726@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201021102503.GC19726@quack2.suse.cz> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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