]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: fix typo in mirror:snapshot::UnlinkPeerRequest 32760/head
authorMykola Golub <mgolub@suse.com>
Tue, 21 Jan 2020 17:48:28 +0000 (17:48 +0000)
committerMykola Golub <mgolub@suse.com>
Tue, 21 Jan 2020 19:12:53 +0000 (19:12 +0000)
Signed-off-by: Mykola Golub <mgolub@suse.com>
src/librbd/mirror/snapshot/UnlinkPeerRequest.cc

index ec23f35c53862ebfd744c9cc1f509596c7d8e3f9..61d39e3a41e9811d6cb98d251082e6dba3fffa80 100644 (file)
@@ -164,7 +164,7 @@ void UnlinkPeerRequest<I>::remove_snapshot() {
     }
   }
 
-  if (r == ENOENT) {
+  if (r == -ENOENT) {
     finish(0);
     return;
   }