summaryrefslogtreecommitdiff
path: root/fs/ceph/caps.c
diff options
context:
space:
mode:
authorLuís Henriques <lhenriques@suse.de>2022-04-18 16:59:56 +0300
committerIlya Dryomov <idryomov@gmail.com>2023-08-22 10:01:48 +0300
commit64e86f632bf148d007946c52781781eb8380d416 (patch)
treed1f849ac0190eaa1fadb531ec54d3335ac0c36e5 /fs/ceph/caps.c
parentb7b53361c80b16ad461dbcb8a93e6e37578bac9b (diff)
downloadlinux-64e86f632bf148d007946c52781781eb8380d416.tar.xz
ceph: add base64 endcoding routines for encrypted names
The base64url encoding used by fscrypt includes the '_' character, which may cause problems in snapshot names (if the name starts with '_'). Thus, use the base64 encoding defined for IMAP mailbox names (RFC 3501), which uses '+' and ',' instead of '-' and '_'. Signed-off-by: Luís Henriques <lhenriques@suse.de> Reviewed-by: Jeff Layton <jlayton@kernel.org> 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 'fs/ceph/caps.c')
0 files changed, 0 insertions, 0 deletions