diff options
author | Luís Henriques <[email protected]> | 2022-11-29 10:39:49 +0000 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2023-08-24 11:24:35 +0200 |
commit | 14e034a61c908d4479be1a7ee9fe5b8d3d1f09b8 (patch) | |
tree | 5a8a46cbfaed77a5df049eb2036c1aaa58acf2bc /drivers/usb/cdns3/cdns3-trace.h | |
parent | e127e03009a3a3c26f00d0b2703c6e0e47927aec (diff) |
ceph: mark directory as non-complete after loading key
When setting a directory's crypt context, ceph_dir_clear_complete()
needs to be called otherwise if it was complete before, any existing
(old) dentry will still be valid.
This patch adds a wrapper around __fscrypt_prepare_readdir() which will
ensure a directory is marked as non-complete if key status changes.
[ xiubli: revise commit title per Milind ]
Signed-off-by: Luís Henriques <[email protected]>
Reviewed-by: Xiubo Li <[email protected]>
Reviewed-by: Milind Changire <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions