Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp918890rdb; Fri, 2 Feb 2024 07:57:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGR00UHe0ticINKIXeFgv4YTbebzX7j5IMapapVvTiYmY5Ngsj8/30cYRDpyI0nNWI2cAe X-Received: by 2002:a05:620a:2112:b0:783:b35e:4b8e with SMTP id l18-20020a05620a211200b00783b35e4b8emr6578888qkl.34.1706889447648; Fri, 02 Feb 2024 07:57:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706889447; cv=pass; d=google.com; s=arc-20160816; b=YgdCtRTTsd9CfB6l9Z/A5NxPr/xMTPjyZIpTMasoq4HHIY6DRgFzyvfhRdd4mGXLu9 rpJJ5CVVFV2yezl1S5YCiRc2d4xpa9vLC/akzklMmNFLVZJ7fcD6wLhcH1iBk/ayDo7E AXQykKjK92unAj+nEb79HBkOZzEWKHRktTzsLxP5xzS6g7kmmJbFmRcqcrSpvbN5HZqN T2rfVDbyKcGILF/p/vE7ER1lhiIRQB01kh1E61rnVv159s7hDyTM8yK4o9Tpu0IxvMdP y9or0BLujqAahmdCZXGPoeeCt+PLnSLriev0+C9HA7KsU5jj6FdAiK2/WgRcbjRZEU6c DBXg== 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=S1s9YAh0b/lwR8J2VsxuU6eumJObqbXVV9D2xlEfB+s=; fh=7j7YTKUW3bkVNjGX3McFVkik/SpXFvj5TskNmnPyawU=; b=LajpmODOjpKHRdyaxu9Tl99kqmnkynAtDOz/pWgW8M9QOzV3SpjtmxOMAxhGpKu9XJ Pfln0VpKCJvuwXl9MDyzUD4PslehhOhx5VEJXRD2nldszSae1ydikXxfjAf14qTzGpTQ Tb+kVt31OfbfbK5cT28b3zdrIaw3A7MvHyyNpthKQQofTHQSFmvoLGaCWrX3sMjaGH3s rYhBAD/7/E+e5FLsGal61FbkioON+UVTTz9Qn60S/fJoToax6cImOD8YAl1hvlGGD0R0 62PqPp/nMnXPaLL4jiw1JtPpBTQsTOj5SXncQWBe/nXCV7HRK33xwXNYYIO56z1KCCKH Cmcg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=FVvONehL; arc=pass (i=1 spf=pass spfdomain=mit.edu dkim=pass dkdomain=mit.edu dmarc=pass fromdomain=mit.edu); spf=pass (google.com: domain of linux-ext4+bounces-1066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-1066-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mit.edu X-Forwarded-Encrypted: i=1; AJvYcCWpIooYmnayNnh8I4nEf5kUEvXInV0muxRuEI7CO9aM5Ml7tnBIbbVTp85ylUdbJdX/+YyqVazu9fQslhxOFtxa5ZiurkxThjGijcnyJQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u20-20020a05620a085400b00783b9e48b6fsi2267574qku.350.2024.02.02.07.57.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 07:57:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4+bounces-1066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=FVvONehL; arc=pass (i=1 spf=pass spfdomain=mit.edu dkim=pass dkdomain=mit.edu dmarc=pass fromdomain=mit.edu); spf=pass (google.com: domain of linux-ext4+bounces-1066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-1066-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mit.edu 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 650871C23F45 for ; Fri, 2 Feb 2024 15:57:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CE20A1474B1; Fri, 2 Feb 2024 15:57:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b="FVvONehL" X-Original-To: linux-ext4@vger.kernel.org Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 ABF641474AD for ; Fri, 2 Feb 2024 15:57:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=18.9.28.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706889432; cv=none; b=Rgg4cDkoBDBSl0OLKP4SJncfspqy4Ybh33/VqxoOuEEkYWH1TJZhDqtVwwQPjc+b9/p/RJ7MH+orsyK1t1FwEfy1FviiQSf0qZzkiNXEp8t8Y0IA0mtgpa/inWHuuJqd3huMipR2G8vWFbS7NUquxOIM9dSQafyMbNWbXxpowu8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706889432; c=relaxed/simple; bh=2jikjFg1dSD1tBPtvM9G1L0yaZBuBjSlS3mgUgsOjag=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Zr8umHIkpYT+41B1WVAINZdB1ouaHUKeYjcDQefjW+0cFxiQKhX+TYTzVm06CtwQ9M3nK+MDSkP4d/mQSdxUyFuwzStqt7Gy4j1D4IG6gOo8U4QgPNp7n/+/7A0lcNszOp+3XeGUt+f8zWLDv2qcvMFaFChepncxPa+sE6FhYOM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu; spf=pass smtp.mailfrom=mit.edu; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b=FVvONehL; arc=none smtp.client-ip=18.9.28.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mit.edu Received: from cwcc.thunk.org (pool-173-48-116-13.bstnma.fios.verizon.net [173.48.116.13]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 412FukRJ018190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 2 Feb 2024 10:56:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1706889409; bh=S1s9YAh0b/lwR8J2VsxuU6eumJObqbXVV9D2xlEfB+s=; h=Date:From:Subject:Message-ID:MIME-Version:Content-Type; b=FVvONehLiWR1DkFmj2nD5MJcNeNCdDNAcgvhKU2EULJ3zg8ODZpD7cnlfvDY7EilX OmF/JU2BJdHIRDZ4NImdVBhxNIP6qhlJPNnDVKRRHFpBv66KQWRPhkAIT1VOlJqlOf 4LKHBgQC743mbg8lkKE7tNTgUxxQh1Lii1vseVSMRFHK/2KQJ3NfSk8dbht2/rJSKT jejo6PfRG57vDgNrz9JrqxeRz1MpBsdZ/GOiptqVasS0EMjWHLC7owTyh3fQVZ9W/4 aAXc2nSbay60uHrRuleD6S3Q1HiBJBbxO3xzw/Q+0Q3aOYbgZwUeDiDCaOJETeU1NI WsZdBtvYzvh+w== Received: by cwcc.thunk.org (Postfix, from userid 15806) id C988015C02FC; Fri, 2 Feb 2024 10:56:46 -0500 (EST) Date: Fri, 2 Feb 2024 10:56:46 -0500 From: "Theodore Ts'o" To: Gabriel Krisman Bertazi Cc: ebiggers@kernel.org, viro@zeniv.linux.org.uk, jaegeuk@kernel.org, amir73il@gmail.com, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v5 09/12] ext4: Configure dentry operations at dentry-creation time Message-ID: <20240202155646.GB119530@mit.edu> References: <20240129204330.32346-1-krisman@suse.de> <20240129204330.32346-10-krisman@suse.de> 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: <20240129204330.32346-10-krisman@suse.de> On Mon, Jan 29, 2024 at 05:43:27PM -0300, Gabriel Krisman Bertazi wrote: > This was already the case for case-insensitive before commit > bb9cd9106b22 ("fscrypt: Have filesystems handle their d_ops"), but it > was changed to set at lookup-time to facilitate the integration with > fscrypt. But it's a problem because dentries that don't get created > through ->lookup() won't have any visibility of the operations. > > Since fscrypt now also supports configuring dentry operations at > creation-time, do it for any encrypted and/or casefold volume, > simplifying the implementation across these features. > > Signed-off-by: Gabriel Krisman Bertazi Acked-by: Theodore Ts'o