From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF44619E819 for ; Fri, 30 Jan 2026 05:48:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769752116; cv=none; b=I+TBYLtNq0TZl0zzs2wmGlZ2cADBhIBQfrF22ORTK3A4tlGrhc3j5h6MHbK97Bbiqds2f6yZSgR3lB+9iTrmEfFCcfYIgTSq/fEp6jCYKIHerGLFE/px+gsGIv5vR8yRWTowUJdVFDb9aDZ/cnEtw+ekL2ptBdOC0OS6yg35Zms= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769752116; c=relaxed/simple; bh=ftzOb2Yr7oF3gNHLYVV8D5bMfB5p0bllJS5k5q3NHsM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZYH0LLihxtkB0EgJeBCAgf191/LT2ezHAI0y1QnP9E+0Pz9I0B6c1WrwzfYSbO+oHwFeQob26sOWbeCH9/9g1XKL1PMvjvlBWJAQJkNsU15HX690oirvdL7tL5pQ2YBrFfo6dV573cAsXdBxq0/nuJi3Fry2qnBCB1oJXrh4YTs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 20A8268AFE; Fri, 30 Jan 2026 06:48:32 +0100 (CET) Date: Fri, 30 Jan 2026 06:48:31 +0100 From: Christoph Hellwig To: Eric Biggers Cc: Christoph Hellwig , Al Viro , Christian Brauner , Jan Kara , David Sterba , Theodore Ts'o , Jaegeuk Kim , Chao Yu , Andrey Albershteyn , Matthew Wilcox , linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, fsverity@lists.linux.dev Subject: Re: [PATCH 07/15] fsverity: don't issue readahead for non-ENOENT errors from __filemap_get_folio Message-ID: <20260130054831.GA622@lst.de> References: <20260128152630.627409-1-hch@lst.de> <20260128152630.627409-8-hch@lst.de> <20260128234814.GC2024@quark> Precedence: bulk X-Mailing-List: fsverity@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260128234814.GC2024@quark> User-Agent: Mutt/1.5.17 (2007-11-01) On Wed, Jan 28, 2026 at 03:48:14PM -0800, Eric Biggers wrote: > This patch is still incorrect: when IS_ERR(folio) && folio != > ERR_PTR(-ENOENT) it falls through to folio_file_page(), which crashes. > See https://lore.kernel.org/r/20260126205301.GD30838@quark/ for a > correct suggestion. Sorry, I missed that part that only applies to the version after this patch. Fixed now.