Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp208012lqo; Thu, 9 May 2024 18:25:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUB3YKSeoahR6951jZrXCU0sSaYB4rE/mIbSMVsprwKl1vpRhoYL2P8aDh8ynOAaARlWD8ioFLDrUCV3/N/nkzFOCOdsQbjSbCDJKa5Yw== X-Google-Smtp-Source: AGHT+IHtUagIH95P0H2nX3RlfuLk+jcMwC2BzrxwUKSvCM56NgbjkkjE8Y/CSEW605lkhZlXvUDk X-Received: by 2002:a2e:850e:0:b0:2e3:38e0:54bb with SMTP id 38308e7fff4ca-2e52039bb90mr5636601fa.39.1715304340254; Thu, 09 May 2024 18:25:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715304340; cv=pass; d=google.com; s=arc-20160816; b=MZgvwD0F+lsRVHsaJfl7k4xin4kkPj15K1qtpVa03UV+VMds1Fynbap+NThdmBAQBn F9SrAqz6qceOzifXNp4lp7OMx6I0djGq4MuAl6h6RS+gVSSGTqHj/kM2cwM/UEoWeoQ+ HpcZXz1VPkeC8/zEVM54IEALyAXlZT4oATIMPmFb5I5IGW+WLLjOOfvf6m+y6LF+pWKT zVQUAZYrlr5m/KRpukk6YXtndL6P7LgBZ5BGkhwEo3u6H+yU0YJNKncmaXD3kgOCTweN OmCBQWzqlmAGRjFdhXwfWMO1JinQw9CLL3KSSMo81GRokcvja5uiS3C5PuxGpbZ5+FCY SAuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NloqIc+V0pui5CStRd+DL6w1IgT4O3i32CnVyhJwEes=; fh=CkqPC0fS1ITV8w8VFD8QuH++wmvzVutEtrxElJJDM8E=; b=iuG0anpcstx6Uiw/HCFqmJXXmGJteyEYODbl9GTAJ4ocJBIzgwWkSb7Z2Pdf35HjCP 6o3LH7hNn8uKtfJlhTLtIO7hfSinacdw7LLZod2GkgXbaq5TGjcM6oESKa3O+oXCkNAg shO20lMGjhcDlBW26ZKrW1U/xjXuoJYg0+TFGZOJmmeFBTvtquUKGYW3ARdkg2sWIBjo 5Qt7ufpOwD22NezXOMhhJej2jtaewARqg4SMm0/tfpgJq6uJ5LaZ7JjQYEmVWGFUBB/L pob2q3jrkpfpB/0QikjQkYJuWVVw4DUvxsFVjQOoVJtXpP/L3Vxpl3cOpAQDDyA9soxk 2AKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N7igZdW8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175197-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175197-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c2d5cbbsi1304325a12.307.2024.05.09.18.25.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 18:25:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175197-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N7igZdW8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175197-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175197-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id ED6181F23199 for ; Fri, 10 May 2024 01:25:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B0BCE13BAC6; Fri, 10 May 2024 01:25:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="N7igZdW8" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CFD52137928; Fri, 10 May 2024 01:25:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715304327; cv=none; b=WquPga2GpcL1GteOXMltvg7vlafxxrFbSy064x+UCqEtk6y/e7xzvjaoIh5MZuGH4ztjJidSKQL/76leOvPczs2yujHjSo63BsvQc41Y2FSQZCn6ItB7Q+z8HygyYcr7IRRpwRo44wukkvLZdOS+haCDSNaQZN3owgPvOCZg968= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715304327; c=relaxed/simple; bh=z6usap/sG4pNmXnz79zMaYcGqNYRG6xfvcprS7cuFkI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kx0oCmtGQVJcLl2PGvRDqzAAhf1A8em5uTMJOIr9597O/Oe7k+Hhj3dbuY/fTP7fZXyjuRo4AEbuvkmKRrITQsCYGNvsTi7PK1MMGYurQYb32j+AiDOgDc3XjHputhLzs596kfCCI6B3FQASNiZ+yagn2pWcEpn3lzH0fhtHyYk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=N7igZdW8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2062FC116B1; Fri, 10 May 2024 01:25:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715304327; bh=z6usap/sG4pNmXnz79zMaYcGqNYRG6xfvcprS7cuFkI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=N7igZdW8tgYu0o8kPCfFrxugMADMEZ0lCFEu9UoLdURi8eu138yKWg/2ootT5zu5c T0G/fZU941SH5WD8Qw18MiyQf9ftFYRJhvQ9C2K2KlOnzroGfZu0/+HyFi9T6OFzZ9 p1yG48T48Ps161PumuwbBGRRTLoaQwftCeRzdqgO5Dm8ZzWnCBepTI9eO5/4/BiJdt JD1Q10H+z7UBJBoyGG5LekBosH0bGwkOQu8gb2bnP0QdtGMJbUKh6Xn+2O/1Emu5q7 NfBWu5Kw7Rut2ZpIJll8V3BkstRTm7H83eEP4/JxwnV8ZtmhADiqsGocmx25eiDheN 3GBs0ueg7Ijag== Date: Fri, 10 May 2024 01:25:25 +0000 From: Eric Biggers To: Eugen Hristev Cc: tytso@mit.edu, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, jaegeuk@kernel.org, chao@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, viro@zeniv.linux.org.uk, brauner@kernel.org, jack@suse.cz, krisman@suse.de Subject: Re: [PATCH v16 7/9] f2fs: Log error when lookup of encoded dentry fails Message-ID: <20240510012525.GF1110919@google.com> References: <20240405121332.689228-1-eugen.hristev@collabora.com> <20240405121332.689228-8-eugen.hristev@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240405121332.689228-8-eugen.hristev@collabora.com> On Fri, Apr 05, 2024 at 03:13:30PM +0300, Eugen Hristev wrote: > If the volume is in strict mode, generi c_ci_compare can report a broken > encoding name. This will not trigger on a bad lookup, which is caught > earlier, only if the actual disk name is bad. > > Suggested-by: Gabriel Krisman Bertazi > Signed-off-by: Eugen Hristev > --- > fs/f2fs/dir.c | 15 ++++++++++----- > 1 file changed, 10 insertions(+), 5 deletions(-) > Reviewed-by: Eric Biggers But please fix the typo: "generi c_ci_compare" => "generic_ci_d_compare" - Eric