Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp208128lqo; Thu, 9 May 2024 18:25:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWzKkiOxDYRteIgFhrhjkNmuDsEBe5kJSvBqzfBy8VWQwDQg8+HnMKVKngbJksjD+vJP8c03Uz6ASIYmKFV4hu7PUuh3AY5UE7cNOzoww== X-Google-Smtp-Source: AGHT+IH6x5ik/JQHorCy3S2GeGqLxCnWP48zG3LLHihEVmMVucsfV9k/NM8dmLIZHVms+B8PGg0h X-Received: by 2002:a17:902:d48f:b0:1eb:5a92:cabf with SMTP id d9443c01a7336-1ef43e3484cmr17288095ad.41.1715304359095; Thu, 09 May 2024 18:25:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715304359; cv=pass; d=google.com; s=arc-20160816; b=Op+dgw5ylc8/akeXbbd8SsdaNP13pEDV+KLeJHhE78D76RTYslednxLeTYW/rtw7Iw lEbQv13hyPolXOsFBncguzwxtlAzQn13KpJVr1LMnyrZivnov1Hiw8ipDx7bRi2xgmEn hGEv+QEJOinulllmsAV8pONMw3oQn2Rk6CpkO6fhoti6GAPyW+XJnSbQU6BOSxOHLO6v 4oky7iu7kwY9fY0/AnEczXP+U3aGFYervxj8bYxRHlT4W2Er5BNXRnMnu3qJFMh+m8e4 rJ+5mkE7ILETuxMXHKylD2RQLnMWThcKKdrHuAaIcJ5DU6smNa2aG9qbKnxumZuYuKyT qPtw== 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=rmeGYW2sWW6qHRS5bsOvHpwfcVcDw4XWN8xI3SGGopc=; fh=ox++7A8yAJwV7L7WW9rN9jXxvkgDSL3rCldPnpw2nqQ=; b=WsfmpiLszQVT+qpToCe2N3G2i1CXsDQy54Z/TO8V5vwzKCEy7FyZRaAZejRWQOU0so OGU38lzCj4LKvPUqVfTUT3b2qFnqIV7XdF5sRtBf7XaVm8xDpluXW3KCrLb1PBvu4zUG M/2Bi9W96TqWIBocEWsCsYBalWXiokNPBiZ5ebmfZ3F5+KUu8Bxwaf6GOAQH2rkNnmHT 3DXliVj6qmfcZOHw3AIWP1A8Cy3kVU1p7SHbsob0Q+fRuVUx/Xm2U23wkarumzNedckk D8DtrQyW4WKySyRWyE3DJdQgPfTQoURSm/nOyhDPvSwPX2/HaTcnw6xIbOo2BCcv5k1T gKBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OmWHKpvo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-ext4+bounces-2437-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2437-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c26a0d8si26394515ad.594.2024.05.09.18.25.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 18:25:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4+bounces-2437-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OmWHKpvo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-ext4+bounces-2437-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2437-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 02B152841CC for ; Fri, 10 May 2024 01:24:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5765413BC02; Fri, 10 May 2024 01:24:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OmWHKpvo" X-Original-To: linux-ext4@vger.kernel.org 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 CA7EC137928; Fri, 10 May 2024 01:24: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=1715304267; cv=none; b=a/a0qHjpDflZCitWeKtR2LHpFuuKGeUCfI741FEtlWI+fM6uTFplDB5uNNyAdMzgA5bz1yW5+4vlFZUnM7UJsRVAWZhUJs+MX/uUPy63KAzEVG+cvIGYlqFU3VXAMLQvJFF7mKesRn5RYcVt/pH3nnkREO/WbApBkgUJBlB2LJA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715304267; c=relaxed/simple; bh=dMR4rNMP4Jcx6tRoPoJo4UFOm/KXq6CVgtCEiKRmYJg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mMf3ZkxfIKgsWr9SRrHbUXUFDbsqa9R9HvmF/eAT9SBqSdmD7ECX0TTPnHC2ZlggnEB+TY9LZAYlqdqdOTSMO08wWhjERPNT8N9+N22wKp3ydzuJYsszr7vMamSN9LhB2r/jU2DwW8zCjWBd3L+B40qzUWt0Dzx2kA6Dilvzank= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OmWHKpvo; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37998C116B1; Fri, 10 May 2024 01:24:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715304267; bh=dMR4rNMP4Jcx6tRoPoJo4UFOm/KXq6CVgtCEiKRmYJg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OmWHKpvo+C5HzCNnJV05leNR1+YkwK/zxI+CPQUuAAYF/C3dyJbTDjuq5nl1QRDLV A0Se/n0Msq3QPlVf0hku/NuRTmXBIx+WxiaT8yZ92WS/3M5DGwGcC/5Q8IgWnYgGxX OlyHcv3EllLJ+ESeg1a7MQBZ+qazfnR3bqLZlHKhZckWrkF1angURQOg0A1eb6uiY+ qOozR08OiNuLumFzbLkr1PYukoeree0YVLYi7TPhLAHXc5OBO1o8iaC6kD3Gm/CNbt yHCv1xe/+oGSvUuO81w/xFD9/T8f6YsfDKFHdD5NhRqyNQ4svFdEYhQoBskyMLIzp9 iAJ1D066u2+vw== Date: Fri, 10 May 2024 01:24: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, Gabriel Krisman Bertazi Subject: Re: [PATCH v16 6/9] ext4: Log error when lookup of encoded dentry fails Message-ID: <20240510012425.GE1110919@google.com> References: <20240405121332.689228-1-eugen.hristev@collabora.com> <20240405121332.689228-7-eugen.hristev@collabora.com> Precedence: bulk X-Mailing-List: linux-ext4@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-7-eugen.hristev@collabora.com> On Fri, Apr 05, 2024 at 03:13:29PM +0300, Eugen Hristev wrote: > From: Gabriel Krisman Bertazi > > If the volume is in strict mode, ext4_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. > > Signed-off-by: Gabriel Krisman Bertazi > Signed-off-by: Eugen Hristev > --- > fs/ext4/namei.c | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Eric Biggers - Eric