]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
messages/MClientCaps: use correct ceph_seq_t for cap sequence types
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 26 Jun 2024 16:49:36 +0000 (12:49 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 10 Oct 2024 12:53:31 +0000 (08:53 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/messages/MClientCaps.h

index de7d68b9e061ecd097d203c1fb1e39c78ef6cab9..a733168d475d667257677ad1883fa2e46ef1e082 100644 (file)
@@ -137,11 +137,11 @@ protected:
              inodeno_t ino,
              inodeno_t realm,
              uint64_t id,
-             long seq,
+             ceph_seq_t seq,
              int caps,
              int wanted,
              int dirty,
-             int mseq,
+             ceph_seq_t mseq,
               epoch_t oeb)
     : SafeMessage{CEPH_MSG_CLIENT_CAPS, HEAD_VERSION, COMPAT_VERSION},
       osd_epoch_barrier(oeb) {
@@ -159,7 +159,7 @@ protected:
   }
   MClientCaps(int op,
              inodeno_t ino, inodeno_t realm,
-             uint64_t id, int mseq, epoch_t oeb)
+             uint64_t id, ceph_seq_t mseq, epoch_t oeb)
     : SafeMessage{CEPH_MSG_CLIENT_CAPS, HEAD_VERSION, COMPAT_VERSION},
       osd_epoch_barrier(oeb) {
     memset(&head, 0, sizeof(head));