Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4012032pxb; Tue, 17 Nov 2020 09:05:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6GTrTNu1lNF5C7/ospdC8nfd+DHofOM2CICEon5oaZB5cHT3NhnGosJe9DGphQMI5fBnG X-Received: by 2002:a19:c60c:: with SMTP id w12mr2136551lff.244.1605632707894; Tue, 17 Nov 2020 09:05:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605632707; cv=none; d=google.com; s=arc-20160816; b=cA7N3BjtzuKclvvW0bTBOMFsVIVUt9v0oOkAhvIiroqLgcFme3kcAWbVa6ewgwjZ9W Yq/DhSZ60qzWzKBk9Ta2ZldtPsyg7nXXZtmNmnrW2fwtXcwPl3OEOA3G16R/aTEmdF+z RH8x3Pq+YQB8GyEV2NfT5zWsBMH2ZgJ1gI4PeGjm7oERHLjhbsSVcBhywn9nUe9/QcDW IqYm2fQZiV4cYao6gVN0FId0Q0a3NAc5m/fjLzjVGXjPWh3KuuENMrSjkLCkFQHiHvvN wE1X9K/4kLtSnntqs2F1+V6J5E9TIGd9hRgZvVN0cIyvRZDJsCF+Wk4oExK754s2FlqE zJPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LgH0rII62okEeBVRpbUIaAa4lZCIAFlax3ntlfKVzNk=; b=Qm1XtlBZ+AdoHWgWJh1zmOhyNsT6/LaCbrvoexOTFwxd9B0/H82jq5ln60u6J5re2z /R0dMDta0UmW01ZrC0wwqwTyCSasN9HJLIBrmtuocIYgWgzWW72rntvzAYZ6GU5gpEce ksTerC8Cbj5/pMD2rW9EYVrHj2zOR31Fjra/vwTsXb/AcGHKTG53YVsgABtemNCzcQFK qFWpGQgm46G5MjhX8JBGj6ACzEIaL5D0g50botLruPl1ndbmrRCiDaGxQq+0QrOooFsY tETLMfbb3Oe+FxsXFgcoSJwdbbK2Qs6YfXmnvEg/g+DldHwn61AP7jkje2dhWQJzpBnw lA9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DBjGqfkc; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m12si8226822ljj.530.2020.11.17.09.04.22; Tue, 17 Nov 2020 09:05:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DBjGqfkc; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726211AbgKQREP (ORCPT + 99 others); Tue, 17 Nov 2020 12:04:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:48554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726204AbgKQREO (ORCPT ); Tue, 17 Nov 2020 12:04:14 -0500 Received: from google.com (unknown [104.132.1.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9438122447; Tue, 17 Nov 2020 17:04:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605632654; bh=RI02fUAgmCDGR1I9KhbEZKJySeezxBuuog/z0BglPjE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DBjGqfkcNFh7VnYo3RQNdBge1TQ+YYC4YKNDLYI8nPndHth5oUkMgNCidgSm2Hu0u KLA2crWMx3LsXcgN+T8C26/Kt+F8ujLobWFjlbLjJfxmDID5V1znx5uEEnL0pL3olq 21GDqIO5jmYr1HGyy4Cx80uxW0RI1rifflYbZMYQ= Date: Tue, 17 Nov 2020 09:04:11 -0800 From: Jaegeuk Kim To: "Theodore Y. Ts'o" Cc: Daniel Rosenberg , Eric Biggers , Andreas Dilger , Chao Yu , Alexander Viro , Richard Weinberger , linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mtd@lists.infradead.org, Gabriel Krisman Bertazi , kernel-team@android.com Subject: Re: [PATCH v2 2/3] fscrypt: Have filesystems handle their d_ops Message-ID: <20201117170411.GC1636127@google.com> References: <20201117040315.28548-1-drosen@google.com> <20201117040315.28548-3-drosen@google.com> <20201117140326.GA445084@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201117140326.GA445084@mit.edu> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On 11/17, Theodore Y. Ts'o wrote: > On Tue, Nov 17, 2020 at 04:03:14AM +0000, Daniel Rosenberg wrote: > > This shifts the responsibility of setting up dentry operations from > > fscrypt to the individual filesystems, allowing them to have their own > > operations while still setting fscrypt's d_revalidate as appropriate. > > > > Most filesystems can just use generic_set_encrypted_ci_d_ops, unless > > they have their own specific dentry operations as well. That operation > > will set the minimal d_ops required under the circumstances. > > > > Since the fscrypt d_ops are set later on, we must set all d_ops there, > > since we cannot adjust those later on. This should not result in any > > change in behavior. > > > > Signed-off-by: Daniel Rosenberg > > Acked-by: Theodore Ts'o Hi Ted/Richard, I'd like to pick this patch series in f2fs/dev for -next, so please let me know if you have any concern. Thanks,