Commit c526760
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.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-and-tested-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>1 parent cb3524a commit c526760
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1782 | 1782 | | |
1783 | 1783 | | |
1784 | 1784 | | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
1785 | 1789 | | |
1786 | 1790 | | |
1787 | 1791 | | |
| |||
1794 | 1798 | | |
1795 | 1799 | | |
1796 | 1800 | | |
1797 | | - | |
1798 | | - | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
1799 | 1804 | | |
1800 | 1805 | | |
1801 | 1806 | | |
| |||
0 commit comments