diff options
author | 2023-03-16 18:14:12 +0000 | |
---|---|---|
committer | 2023-08-24 11:24:37 +0200 | |
commit | d9ae977d2d5635bde4fe75657417f5cffb14c954 (patch) | |
tree | 7cad5e91c772528a91c9427eb766964ee6f486d8 /scripts/generate_rust_analyzer.py | |
parent | ceph: fix updating i_truncate_pagecache_size for fscrypt (diff) | |
download | linux-rng-d9ae977d2d5635bde4fe75657417f5cffb14c954.tar.xz linux-rng-d9ae977d2d5635bde4fe75657417f5cffb14c954.zip |
ceph: switch ceph_lookup/atomic_open() to use new fscrypt helper
Instead of setting the no-key dentry, use the new
fscrypt_prepare_lookup_partial() helper. We still need to mark the
directory as incomplete if the directory was just unlocked.
In ceph_atomic_open() this fixes a bug where a dentry is incorrectly
set with DCACHE_NOKEY_NAME when 'dir' has been evicted but the key is
still available (for example, where there's a drop_caches).
Signed-off-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions