]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: make ceph_get_name decrypt filenames
authorJeff Layton <jlayton@kernel.org>
Wed, 31 Mar 2021 17:57:14 +0000 (13:57 -0400)
committerXiubo Li <xiubli@redhat.com>
Thu, 18 Aug 2022 02:59:52 +0000 (10:59 +0800)
commit6c83376644cddf7c5fe723700a89a363ae3b8e01
tree3c82752312d60ee62f0f763c62251d2d357f7089
parent11766824d21f2ae6c5b360f26077eb3ec24d6bce
ceph: make ceph_get_name decrypt filenames

When we do a lookupino to the MDS, we get a filename in the trace.
ceph_get_name uses that name directly, so we must properly decrypt
it before copying it to the name buffer.

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
fs/ceph/export.c