]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: Add is_encrypted libcephfs api
authorChristopher Hoffman <choffman@redhat.com>
Mon, 24 Feb 2025 20:29:14 +0000 (20:29 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Wed, 5 Nov 2025 13:59:34 +0000 (13:59 +0000)
commite0c4040aa158dbfd36cc569bc1d350f5cbd07517
tree6525f34d0452c51d93e80c06ec814cffd3593e95
parent81102450ec5578150c1b36c3e48fee7e89075e54
client: Add is_encrypted libcephfs api

Given a fd, will return if is encrypted or not.
Optionally, an enctag will be returned if set.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/Client.cc
src/client/Client.h
src/include/cephfs/libcephfs.h
src/libcephfs.cc