ceph: handle fscrypt fields in cap messages from MDS
authorJeff Layton <jlayton@kernel.org>
Thu, 25 Aug 2022 13:31:09 +0000 (09:31 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 24 Aug 2023 09:24:35 +0000 (11:24 +0200)
commit0d91f0ad6a01c8c64a84c5255c5ab95133d0fed5
treea8d973cb98520b12f30de2a82b26d59ac57aff9c
parent16be62fc8a53482529201b4be6bbcd0de3a058cb
ceph: handle fscrypt fields in cap messages from MDS

Handle the new fscrypt_file and fscrypt_auth fields in cap messages. Use
them to populate new fields in cap_extra_info and update the inode with
those values.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-and-tested-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c