librbd: fix typo in mirror:snapshot::UnlinkPeerRequest

Signed-off-by: Mykola Golub <mgolub@suse.com>
This commit is contained in:
Mykola Golub 2020-01-21 17:48:28 +00:00
parent 92be6fb093
commit e6bea300cb

View File

@ -164,7 +164,7 @@ void UnlinkPeerRequest<I>::remove_snapshot() {
}
}
if (r == ENOENT) {
if (r == -ENOENT) {
finish(0);
return;
}