]> 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)
committerJeff Layton <jlayton@kernel.org>
Tue, 31 May 2022 15:50:00 +0000 (11:50 -0400)
commit6dbd6ceab04a64164612a93602eec074c38ac7b4
treeedb25210c0a8d0e80ca45716373622fef146fe63
parent15af65d8034f3a8d6fb2deabc3c21f76236a10fd
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