diff options
author | Jeff Layton <[email protected]> | 2021-03-26 12:26:18 -0400 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2023-08-24 11:24:34 +0200 |
commit | 457117f077c6749d1e28469eae91fb69c9806768 (patch) | |
tree | 08b274708153fd022c4a0aaed67892566bb53f98 /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | c526760181ca083dbd607d2e694b43080a8b1585 (diff) |
ceph: add helpers for converting names for userland presentation
Define a new ceph_fname struct that we can use to carry information
about encrypted dentry names. Add helpers for working with these
objects, including ceph_fname_to_usr which formats an encrypted filename
for userland presentation.
[ xiubli: fix resulting name length check -- neither name_len nor
ctext_len should exceed NAME_MAX ]
Signed-off-by: Jeff Layton <[email protected]>
Reviewed-by: Xiubo Li <[email protected]>
Reviewed-and-tested-by: Luís Henriques <[email protected]>
Reviewed-by: Milind Changire <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions