]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/api: helper method for natively listing the trash
authorJason Dillaman <dillaman@redhat.com>
Wed, 10 Mar 2021 19:44:36 +0000 (14:44 -0500)
committersinguliere <singuliere@autistici.org>
Wed, 24 Mar 2021 20:40:13 +0000 (21:40 +0100)
commitb49a87844cd788ca9cc19382e7e5e28c8386a615
tree7fcfd871e5c12514df8731b3564e644ef0db1075
parentdcf77bd9ff89dfef682c4a2dda05ac5c8651dbe5
librbd/api: helper method for natively listing the trash

The existing list method converts the native TrashImageSpec to the
API's rbd_trash_image_info_t which is missing the source field.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 21adc927fe50ae37069d77482edd4c4e098433c9)
src/librbd/api/Trash.cc