]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: return ENOENT from Snapshot::get_timestamp for nonexistent snap_id 55473/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:51:23 +0000 (11:51 +0100)
commitc554fd9f4590f6bd6146bd3d4e75e4f0dc90133d
treef22e4e410f79aa2c48913e9f559ef88f5185d2a8
parentaa0277f78e2afafe61d5ac2cb0abaef81e8e839b
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