]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: make d_revalidate call fscrypt revalidator for encrypted dentries
authorJeff Layton <jlayton@kernel.org>
Fri, 7 Aug 2020 19:47:17 +0000 (15:47 -0400)
committerXiubo Li <xiubli@redhat.com>
Thu, 18 Aug 2022 02:59:51 +0000 (10:59 +0800)
commitba312ff96e9a0120cf56f298e919655390023fff
treeaa0b6abbf152eb2af25e65fa058f8e1ab5d66d7d
parent3cf18ea91cfdabd242c08cca60dabe4c5d68b372
ceph: make d_revalidate call fscrypt revalidator for encrypted dentries

If we have a dentry which represents a no-key name, then we need to test
whether the parent directory's encryption key has since been added.  Do
that before we test anything else about the dentry.

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
fs/ceph/dir.c