]> git.apps.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)
committerNathan Cutler <ncutler@suse.com>
Thu, 8 Apr 2021 13:03:21 +0000 (15:03 +0200)
commite6b4780e5dd959e347c3aa6f5282b0ff45023bdd
tree3a9410c78c356107446500031376d7ff3708829e
parenta3bb71c89d324b13294707f66d71b7b74886e1b6
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