]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: add support for fscrypt_auth and fscrypt_file fields
authorJeff Layton <jlayton@redhat.com>
Tue, 11 May 2021 15:26:38 +0000 (11:26 -0400)
committerXiubo Li <xiubli@redhat.com>
Thu, 13 Jan 2022 13:59:38 +0000 (21:59 +0800)
commitb52dd9deedcf77f0fd35388893ad895288660864
tree093bce95b95d22d39dda498acff3b960ece87400
parenta35439373eba907b131075929e41e562c1eeab97
client: add support for fscrypt_auth and fscrypt_file fields

We don't really expect the userland client to use these (at least not
initially) but plumb in new vxattrs for fetching and setting these
fields. The new vxattr just fetches whatever is in the in-core inode,
and setting it issues a setattr under the hood.

Also, ensure that we update these fields on cap updates and client
requests.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/client/Client.cc
src/client/Client.h
src/client/MetaRequest.h