]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: RemoteAsyncRequest: fix comparison operator 3556/head
authorMykola Golub <mgolub@mirantis.com>
Sun, 1 Feb 2015 11:58:25 +0000 (13:58 +0200)
committerMykola Golub <mgolub@mirantis.com>
Sun, 1 Feb 2015 11:58:25 +0000 (13:58 +0200)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/librbd/ImageWatcher.h

index e2a73a7931d4851823462fa457dd5952e1502a18..434079d9fbc2595d3369cdddf98729875fee2bc5 100644 (file)
@@ -40,7 +40,7 @@ namespace librbd {
       } else if (handle != rhs.handle) {
        return handle < rhs.handle;
       } else {
-       return request_id < request_id;
+       return request_id < rhs.request_id;
       }
     }
   };