From: Xiubo Li <xiubli@xxxxxxxxxx> This patch series is base on the 'wip-fscrypt' branch in ceph-client. V4: - Remove the snapshot name support patches and will leave this to Luis. - For the first commit to fail the request one, it's hasty to skip the corrupt dentries and risky, will improve this later in future. For now will fail it directly and propogate the errno to user space. V3: - Add more detail comments in the commit comments and code comments. - Fix some bugs. - Improved the patches. - Remove the already merged patch. V2: - Fix several bugs, such as for the long snap name encrypt/dencrypt - Skip double dencypting dentry names for readdir Xiubo Li (2): ceph: fail the request when failing to decode dentry names ceph: do not dencrypt the dentry name twice for readdir fs/ceph/crypto.h | 8 +++++ fs/ceph/dir.c | 71 ++++++++++++++++++++++++-------------------- fs/ceph/inode.c | 20 +++++++++++-- fs/ceph/mds_client.c | 2 +- fs/ceph/mds_client.h | 1 + 5 files changed, 66 insertions(+), 36 deletions(-) -- 2.27.0