]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: return ENOENT from Snapshot::get_timestamp for nonexistent snap_id 55474/head
authorjagombar <48735467+jagombar@users.noreply.github.com>
Tue, 30 Jan 2024 18:25:53 +0000 (18:25 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 7 Feb 2024 10:50:32 +0000 (11:50 +0100)
commit72c2dc3162e4f6668c592cb2eef8f82e3c8ee290
tree4d3faf6bb3c58a09b9f7fbcfe191004e455272de
parent308f19ea703b2ecb7fc19d5af4edca54d277028f
librbd: return ENOENT from Snapshot::get_timestamp for nonexistent snap_id

Fixes: https://tracker.ceph.com/issues/47287
Signed-off-by: John Agombar <agombar@uk.ibm.com>
(cherry picked from commit 2a2d3d4c6b38a917f465680e9321e810426555ea)
src/librbd/api/Snapshot.cc
src/test/librbd/test_librbd.cc