]> git-server-git.apps.pok.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)
committerJeff Layton <jlayton@kernel.org>
Tue, 31 May 2022 15:49:59 +0000 (11:49 -0400)
commit1479a8fd9f90368b4100259e52ce6e655c1ce095
tree363af1110ba46475aca2ae6f6e333a299a60bd23
parent0244f22dfc2d1dede15ed5f0037a5c36c8077f40
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