From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FD89C433F5 for ; Sat, 28 May 2022 05:47:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230263AbiE1Fr2 (ORCPT ); Sat, 28 May 2022 01:47:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231932AbiE1Fr1 (ORCPT ); Sat, 28 May 2022 01:47:27 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4407613DD7 for ; Fri, 27 May 2022 22:47:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=mONrJIgsC+ftVFSvdH1KiA8xTtfiFd2tBeS46w9EXC4=; b=k0rmMFDk31kEqtqq3nrJCaXpDq s3Dql5xGlltV5WjEdwBaK7h1OltYEM/6ysHUHI7mHfLStY6bEK9Yeio3jZyFp03OhFwQNTFQgEXVe cB0UiUfW4j7wtB+ZQkmqobIjHHq9qgpAtybExT0NhNcG4yEPXCWFL1JvDXuqQI5lFLn3zsmqYrCMi LmDf1OxaHysZohmHUrTESVyuCOPyTHfKBiucrNQomko3gJjqcNLmxCPG6ylAVm+CmqFXtrscT5S6Z yMlBrtrYaNtH/khEDLBEnPK0Ea2F8YnkfsH7DiZyrxEFmQu1CUk0Vuxp7KP9xUFQwyu0xKt17RSc0 gbJPHcjQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nupIK-001VCm-KV; Sat, 28 May 2022 05:47:24 +0000 Date: Fri, 27 May 2022 22:47:24 -0700 From: Christoph Hellwig To: "Matthew Wilcox (Oracle)" Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 01/24] block: Remove check of PageError Message-ID: References: <20220527155036.524743-1-willy@infradead.org> <20220527155036.524743-2-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220527155036.524743-2-willy@infradead.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Fri, May 27, 2022 at 04:50:13PM +0100, Matthew Wilcox (Oracle) wrote: > If read_mapping_page() sees a page with PageError set, it returns a > PTR_ERR(). Checking PageError again is simply dead code. Looks good: Reviewed-by: Christoph Hellwig